play the game
<Table of Contents>
Get Details on GreenGeeks Secure Hosting Learn HTML5 Today!
>>  -- CSS, Web Design, HTML, JQuery
- Bob's HTML Course - Take HTML5 Lessons - Twitter - Dave's Blog - Learn on your iPad
Web Hosting HTML Tutorial CSS Tutorial Web Design Tutorial Hosting under
I have a new 5-star iPad Course: Web Design Basics. Download your copy now from AppStore.


HTML Code MiniChapter 2: The Common Tags

HTML Tutorial Chapters:  

iPage Hosting $95 Plan on sale today for $1.99/mo
Click Here for More Details!



Download my app now! You can learn how to code HTML faster with my new Interactive iPad App.

< back to the previous chapter

Headings are some of the most important tags within the BODY of your HTML document. You will usually use a heading to tell what the following section of your page is about. The opening tag for a heading is <hy> and the closing tag is </hy> with y being the size of the heading... from 1 to 6. (1 being largest, and 6 being smallest)

LG220C - Unlimited 
- Free Phone

Example of heading tags...

Bob fell over the chicken. [H1]

<h1>Bob fell over the chicken. [H1]</h1>

Bob fell over the chicken. [H2]

<h2>Bob fell over the chicken. [H2]</h2>

Bob fell over the chicken. [H3]

<h3>Bob fell over the chicken. [H3]</h3>

Bob fell over the chicken. [H4]

<h4>Bob fell over the chicken. [H4]</h4>

Bob fell over the chicken. [H5]
<h5>Bob fell over the chicken. [H5]</h5>

Bob fell over the chicken. [H6]
<h6>Bob fell over the chicken. [H6]</h6>


Web Hosting by iPage - Affordable and E-Commerce Enabled

Get details on how to set up and configure your .com. (It only takes a few minutes.)


Horizontal Ruled Lines...

iPage Affordable Web Hosting only $4.50/mo
Get a Free Domain Name for your Web Site with iPage Hosting. Get Details.

Horizontal Ruled Lines are used to separate different areas of a web page. The tag for a horizontal ruled line is <hr>. The horizontal ruled line DOES NOT have a closing tag. You may also add certain attributes to the <hr> tag, such as width="n" (for fixed pixel width) or width="n%" for a certain percentage of the screen wide, size=n to make the line a certain pixel amount thick, and noshade to turn the line's shading off. A plain <hr> with no attributes will make the line the full width of the screen.

Example of horizontal ruled lines...


<hr width="50">
<hr width="50%">
<hr size=7>
<hr noshade>

You may also use several attributes within one tag...
<hr width="50%" size="10" noshade>

HTML Code - Try it Yourself!

In the Box below, type the following HTML code, then click "Check it Out!" The HTML document you made will be displayed in your browser. You may wish to change the words within the tags and the tag attributes just to try it out.

Try typing this:

<html>
<head><title>Your page title goes here</title></head>
<body>
<h1>Your body usually starts with a heading</h1>
Then with some writing.<hr>
<h2>You can have 6 sizes of headings.</h2>
</body>
</html>

Hosting CompanySpecial FeaturesHost DetailsDisk Space/
Bandwidth
Domain PricePrice (Click for More)
iPage Expert
Web Hosting
"Best Control Panel Ever"/
Enhanced Security/100% Green
Unlimited/UnlimitedFree (ever year) $7.95/mo $2.95/mo
Globat Hosting Free Blogging Software/
Easy Control Panel Setup
Unlimited/Unlimited Free (first year) $7.95/mo $4.44/mo
GreenGeeks Hosting Enhanced Security (SSH)/
North American 24/7 Support
Unlimited/Unlimited Free (every year) $6.95/mo $4.95/mo
1&1 Hosting Enhanced Security (SSH)/
Scripting, and IMAP Secure Email
250GB/Unlimited 3 Free (every year) $9.99/mo
HTML An Interactive Tutorial
Continue Next Chapter