Beginning HTML - Formatting HTML Documents
(Page 2 of 5 )
Just as with any other document, HTML pages should practice good layout principles. Below are a list of tags that will help you in this endeavor.
Headers
Header tags determine the size of your Header. The largest is <h1>some text</h1> and the smallest is <h6>more text</h6>. Here is a list of header sizes and an approximation of their comparative sizes:
I am an "H1" tag
I am an "H2" tag
I am an "H3" tag
I am an "H4" tag
I am an "H5" tag
I am an "H6" tag
Kind of a cool effect right?
Paragraphs
Creating paragraphs in HTML is just as simple. Just use the <p> and </p> tags. This creates a blank line before and after each paragraph. If I wrote the following tags three times: <p>Look at my paragraph!</p>, this would be my result:
Look at my paragraph!
Look at my paragraph!
Look at my paragraph!
Next: Inserting a Line Break >>
More HTML Articles
More By James Payne