<section> Tag in HTML 5

In this article i am going to explain about section tag in HTML 5.
  • 2135

Definition

The section element represents a generic section of a documents or application. The HTML <section> tag is used to represents a section within an article

Support browser in <Section> tag.

Chrome, Firefox, Opera, Internet Explorer 9 and Safari.

Lets take an example of <Section> tag

<html>
<body>
    <section>
  <h1>Taj Mahal</h1>
  <p>The Taj Mahal is a white marble mausoleum located in Agra, India.
 It was built by Mughal emperor Shah Jahan in memory of his third wife,
 Mumtaz Mahal. The Taj Mahal is widely recognized as "the jewel of Muslim
art in India and one of the universally admired masterpieces of the world's heritage".
It coveres area of about 1003 acresor 405 hectares.</p>
</section> 
  <section>
  <h1>Statue of Liberty</h1>
  <p>The Statue of Liberty is a colossal neoclassical sculpture on Liberty Island in
 New York Harbor, designed by Frédéric Bartholdi and dedicated on October 28, 1886.
The statue, a gift to the United States from the people of France, is of a robed female
figure representing Libertas, the Roman goddess of freedom, who bears a torch and a tabula
ansata (a tablet evoking the law) upon which is inscribed the date of the American
Declaration of Independence, July 4, 1776.</p>
</section>
</body>
</html>


Output


zz.jpg


Further Readings

You may also read more about HTML5 here

Ask Your Question

© 2019 DotNetHeaven. All rights reserved.