Section Tag in HTML5


Prev Tutorial Next Tutorial

<section> Tag in HTML%

Html <section> tag are used to defined sections in a document, such as chapters, headers, footers, or any other sections of the document on the web page.

Syntax

<!DOCTYPE>
<html>
<head>
<style>
section
{
 background:cyan;
}
</style>
</head>
<body>
<p>This is my first html code.</p>
<aside>
<h3>Introduction</h3>
<p>Html is very simple to use and it is also easy to learn.</p>
</aside>
</body>
</html>

Result

This is my first html code.

Introduction

Html is very simple to use and it is also easy to learn.

Browser supported

Element
<section>YesYesYesYesYes

Prev Tutorial Next Tutorial

Advertisements
Download Projects