The section element characterizes sections in an archive, for example, parts, headers, footers, or any viable sections of the record.

<section> . . . </section>

The section component speaks to a non specific report or requisition section… The section component is not a bland holder component. At the point when a component is required just for styling purposes or as an accommodation for scripting, creators are urged to utilize the div component. A general principle is that the section component is proper just if the component's substance would be recorded expressly in the report's diagra

Here is the Syntax for SECTION Element

Supported Browser
html5 tutorial html5 tutorial html5 tutorial html5 tutorial html5 tutorial


<section> The content will go here </section>

Below is complete syntax along with example


<!DOCTYPE html>

<html>
	
    <head>
    	 <title>Title name will go here</title>
    </head>
    
    <body>
		
		<article>
		
			<h2> Article Header </h2>
			<p> The article content will go here </p>
 
			<section>

				<h2>Header</h2>
 				<p>This can be used a section part.</p>

 			</section>

			<section>
  			
				<h2>Header</h2>
 				<p>This can be used a section part.</p>			
			
 			</section>

		</article>
		
	</body>
    
</html>

Download