The section tag in HTML5

Here we will learn about "section" tag in HTML5.

The section tag in HTML5

 
 As its name, the <section> tag is used to represent section in page or document. Any page may contain more than one section. This is new tag in HTML5. We write the following code to understand its working.
  1. <!DOCTYPE HTML>  
  2. <html>  
  3.     <body>  
  4.         <section>  
  5.             <h1>C</h1>  
  6.             <p>c is a procedural language.  
  7.             </br>It is middle level language.  
  8.         </p>  
  9.     </section>  
  10.     <section>  
  11.         <h1>JAVA</h1>  
  12.         <p>java is object oriented language.  
  13.         </br>It is high level language.  
  14.     </p>  
  15. </section>  
  16. <section>  
  17.     <h1>C#</h1>  
  18.     <p>c# is object oriented language.  
  19.     </br>It is high level language.  
  20. </p>undefined</section>undefined</body>undefined</html>  
The page will look like as below figure:
 
sectionn tag in html