explain heading tag with attribute alignment
Answers
Answer:
HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading. The heading elements are H1, H2, H3, H4, H5, and H6 with H1 being the highest (or most important) level and H6 the least. For example:
<H1>This is a top level heading</H1> Here is some text.
<H2>Second level heading</H2> Here is some more text.
Use the DIV element together with header elements when you want to make the hierarchical structure of a document explicit. This is needed as header elements themselves only contain the text of the header, and do not imply any structural division of documents into sections. Header elements have the same content model as paragraphs, that is text and character level markup, such as character emphasis, inline images, form fields and math.
heading tag is used to give heading to the text...
there are six type of headings :-
1. h1
2. h2
3. h3
4. h4
5. h5
6. h6
where h1 is the greatest heading of the text and h6 is the smallest heading of the text ...
it can be used as in HTML :-
<html>
<head>...</head>
<tittle >...</tittle>
<body >
put the headings attribute here and remember that it was a container tag ...
close the body and html
.
.
.
Hope it helps you...