Image

HTML & CSS - HTML 5 - Section tag

Section tag

By using section tag we define the section in the document section tag contain many thinks like header, footer and other contains. Whenever we won’t to use any think separately then that tag we used section tag in a particular webpage we can use number of section.

<html>
<style>
section{
border:1px solid green;
padding:15px;
margin:10px;
}
</style>
<body>
<h2> HTML5 </h2>
<section>
<p> HTML5 is suuposed to be what HTML should have baeen in the first place.the first web browser, mosaic, was introduced in 1993.</p>
</section>
</body>
</html>    
O/P

HTML5

HTML5 is suuposed to be what HTML should have baeen in the first place.the first web browser, mosaic, was introduced in 1993.