Look at the following html code:
<h2>Heading 2</h2>
It creates this heading:
Heading 2
Now looking at this html code:
<h3>Heading 3</h3>
It now creates this slightly smaller heading:
Heading 3
The 2 and 3 in H2 and H3 can be changed to any number between 1 and 6 to make different sorts of headings.
Here is an example of some code that uses headings:
<h4>Heading 4</h4>
Heading 4 is the fourth most important heading.
<h5>Heading 5</h5>
Heading 5 is the fifth most important heading.
The code results in the following:
Heading 4
Heading 4 is the fourth most important heading.
Heading 5
Heading 5 is the fifth most important heading.
Related Tip:
Tips for Formatting Text
No comments:
Post a Comment