Home Tutorial Html Html5 HTML5 section tag, Example of section tag in html5

 
 

Share on Google+Share on Google+
HTML5 section tag, Example of section tag in html5
Posted on: September 17, 2010 at 12:00 AM
Advertisement
Here, We will introduce you about the <section> tag in html5.

HTML5 section tag, Example of section tag in html5

Here, We will introduce you about the <section> tag in html5. This tag is used to specify the sections of the document or article like header, footer and information related to document. Every document have many section in the body, in web home pages we have many sections like as summary, about the company, login section, current events etc in the different parts of the page. 

Declaration Syntax:

<section>Data Of The Section Here</section>

This tag have no specific attribute.

Example: section_tag.html.

<!DOCTYPE html>
<html>
  <head>
      <title>Example of section Tag</title>
  </head>
   <body>
     <section>
         <h2>This section start here.</h2>
         This is the section of document text.<br>
         It represents the section of document.
     </section>
  </body> 
</html>

Output:

Download This Example

Difference between html4.01 and html5.

This is new introduction in html5.

Advertisement

Related Tags for HTML5 section tag, Example of section tag in html5:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 17, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com