Warning: include(http://www.studio6000.com/header.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson8.php on line 12

Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/header.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson8.php on line 12

Warning: include(http://www.studio6000.com/tutorside.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson8.php on line 17

Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/tutorside.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson8.php on line 17
 

Headings

Headings are a pretty useful tool to help organize your topics and they come in sizes 1-6.

Here are all of the header tags

Code Result
<h1>This is a Heading 1</h1>

This is a Heading 1

<h2>This is a Heading 2</h2>

This is a Heading 2

<h2>This is a Heading 3</h3>

This is a Heading 3

<h2>This is a Heading 4</h4>

This is a Heading 4

<h2>This is a Heading 5</h5>
This is a Heading 5
<h2>This is a Heading 6</h6>
This is a Heading 6

Notice how, the lower the header number the larger it will appear. 

You can also align your headers right, left or center.  To to this simply add the align attribute, as follows:

<h3 align="right">This is a Heading 3</h3>

<h3 align="center">This is a Heading 3</h3>

<h3 align="left">This is a Heading 3</h3>

The code above will appear as:

 

 

Next Lesson


Warning: include(http://www.studio6000.com/footer.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson8.php on line 93

Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/footer.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson8.php on line 93