Summary -
In this topic, we described about the lt;section> tag along with detailed example.
The <section> tag was introduced in HTML 5. Section in the HTML documents. A section is a area contains group of content. The <section> tag used to specify the generic section within an HTML document.
The <section> tag defines chapters, headers, footers, or any other sections in the HTML document. A HTML document can contain multiple sections.
Section can be identified with header at the starting. The tag can be specified like <section></section> with the content in between the opening and closing tags.
Syntax -
<section>.... </section>
Example -
<!DOCTYPE html>
<html>
<head>
<title>section tag example.. </title>
</head>
<body>
<section>
<h1>TC Objective</h1>
<p>TurorialsCampus objective is to deliver the point to point
online content on various technologies (including technical and
non-technical) to encourage the reader to learn and gain expertise
on their desired skills without any conditions and restrictions.</p>
</section>
</body>
</html>
Output -
TC Objective
TurorialsCampus objective is to deliver the point to point online content on various technologies (including technical and non-technical) to encourage the reader to learn and gain expertise on their desired skills without any conditions and restrictions.