HTML Tutorial
What is a Heading?
An HTML Heading tag is a tag that will separate your web page by the important
titles or important subjects on that page. Here is an example of the sizes of
Heading tags. The lower the number, the bigger the font of the Heading.
Heading 1
Heading 2
Heading 3
Heading 4
The HTML tags for a Heading are <h1> and </h1> for Heading 1, <h2> and </h2> for
Heading 2, etc...
What are Line breaks?
Line breaks are tags that put typewriter-type carriage returns at the end of a
line forcing the next line to go back to where the original margin is set.
Simply put, a Line break will start a new line. Here is an example of what the
Line break tag is, and where it goes.
This is my page.<br>
This is the second line.<br>
This is the third line.<br>
Note: That there isn't an ending tag for the Line break such as </br>. You only
have to use the Line break tag when you wish to start a new line.
What is a Horizontal line?
A Horizontal line is used to separate information or specific areas of a
webpage. The simple tag for a Horizontal line is <hr>. This tag can be
manipulated to create different Horizontal line effects such as shading and
shorter width. Here are the examples of the different effects that can be
applied to Horizontal lines.
The default Horizontal Line has a width of 100% of the area.
<hr></hr>
You can use width as a percent or as actual pixels.
Percent: (If the page is resized, the Horizontal Line will be resized also.)
<hr width="50%"></hr>
Pixels: (If the page is resized, the Horizontal Line will remain the size
specified.) <hr width="200"></hr>
You can create a shadow effect with the "height" or "size" addition to the
Horizontal line tag.
Using Height:<hr width="300" height="7"></hr>
Using Size:<hr width="300" size="7"></hr>