section tag in html5 with example

  1. The <section> tag is used to define a section in a document.
  2. A given web page can have more than one sections.
  3. The <section> tag is supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari. IE8 and earlier versions do not support section tag.

Example 1 :

    <head><title>progress tag in html5</title>
            <b>This is header Section</b>
        <section class="content">
            <b>This is content Section</b>
        <section class="footer">
            <b>This is footer Section</b>

Demo :

In the above example, we have used section element. We have defined three sections named header, content and footer.


Post a Comment