Loading...
HTML <section> Tag

HTML <section> Tag

In this tutorial, we will learn about section tag in HTML with the help of examples.


<section> Tag

Section tag <section> is used to define a section in a document.

Syntax

<section>.........</section>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Section Tag</title>
  </head>
  <body>
    <section>
      <h3>HTML</h3>
      <p>Hyper Text Markup Language</p>
    </section>
  </body>
</html>

Output

HTML

Hyper Text Markup Language


Global Attribute

Section Tag support all the global attributes of HTML.


Event Attribute

Section Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <section> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <select> Tag.

- Related Topics