Page titles are very useful for letting your guests know just what is on you website. There can only be one title per page, so only the first code read containing the title will be shown. In order to add a title use the following code:
<TITLE>this is the title</TITLE>
Please note that this is one of the tags that will go within the HEAD tags.
Simple Headings
There are six different simple headings that can be used (H1 to H6). Many websites use headings. You can use the following code to make headers.<H1>This is the Heading</H1>
<H2>This is the Heading</H2>
<H6>This is the Heading</H6>
Of the six different headings, <H1> produces the biggest, and <H6> produces the smallest. You can also center the headings by using the align attribute, as you can see here:
<H1 ALIGN="center">This is the centered Heading</H1>
Paragraphs
Paragraphs are very useful and should be used. They can be created by using the following code:<P>This is a paragraph.</P>
<P>This is a second paragraph.</P>
New Lines/Spacing
New lines are very important for making any website. In order to create a new line you would add the following code:<BR>
Spacing is also very important. When using HTML, you can use just a space, but only up to the first space. Beyond the first space, the web-browser will just ignore. In order to do any amount, you must use the following code for each space wanted:
Horizontal rules
Horizontal lines can be added by doing the following code:<HR>
You can also change the width of the line as well as align them to the left or right, as can be seen here:
<HR ALIGN="left" WIDTH="50%">
Please note that you can have the width in pixels instead of percentages as well. You can also change the height in pixels by doing the following:
<HR SIZE="5">
Beginning Sesion Click Below
HTML Tutorial Basic 1
0 comments:
Post a Comment