Why use a section tag?

Why create a section vs just going straight into it?

mosh version:

****

Hubble Space Telescope

30 Years of Discovery

****

Lots of reasons but it will depend on your design. The article tag is used to semantically define a section of the page with independent, self-contained content. It tells those looking at it as well as browsers what it is.

The HTML tag is used to define sections in a document. When you put your content on a web page, it may contains many chapters, headers, footers, or other sections on a web page that is why HTML tag is used.
Example of CSS Code:

section{
border:1px solid pink;
padding:15px;
margin:10px;
}

The HTML tag is used to define sections in a document. When you put your content on a web page, it may contains many chapters, headers, footers, or other sections on a web page that is why HTML tag is used.
Example of CSS Code:

section{
border:1px solid pink;
padding:15px;
margin:10px;
}Know more about Section tag