2. Write three facts about heading tag.
Answers
The heading tag is used in HTML to define headings of a page. Headings are defined by <hn> , with “n” being a number between 1 and 6, and determines which position a heading has in the hierarchy of the heading structure.
Heading tags have a particularly important function within an HTML structure. An HTML file can be understood as a combination of nodes, whereby the heading tag is the starting point from which other nodes, i.e. content or other headings, branch out. An HTML file should therefore just have one H1 heading, even through it is in theory possible to use multiple H1 tags. Lower-order headers can be used as often as desired, but should be chosen in such a way that there is an understandable hierarchy. Heading tags are used to display text, and the formatting of headings should be specified in the CSS files to separate formatting and content.
Examples of heading tags
A heading with two sub-headings would look like this:
<h1>This is a heading</h2>
<h2>This is a sub-heading</h2>
<h3>This is a third sub-heading</h3>
Every heading tag must be closed accordingly, and the content is written between the tags.
.
please mark as brainliest ✌✌✌✌✌✌✌