Sponsored Links:
Free HTML Tutorial - Headers
Today’s tutorial will show you how to create headers in an HTML file.
What are Headers?
Headers are a great way to break up text into logical divisions. They go well between each of your main ideas.
Different Kinds of Headers
There are headers of varying importance, from 1 (most important) to 7 (least important). Using headers of varying importance helps show your reader how you would prioritize the information you’ve included on your web page.
Header Tags
The opening tag for a header is simply <h#>, where # is a number between 1 and 7.
The closing tag for a header is </h#>, where # is the same number as you put in the opening tag.
Put the text of your header between the two header tags
Here’s a code example:
Which produces:
Your Header Here
This produces:
Your Header Here
Go add some headers to your HTML file that we created in the last tutorial!




on March 2nd, 2006 at 10:28 am
[…] Now that we can create pages using basic html, create text and headers, and format our text, it would probably be a good idea to learn how to use images. Images, after all, are very important in web design—they convey information, improve your site’s appearance, and add a little spice to your page. […]