Search this site:
| About | Learn | Downloads | Hardware | Software | Web Builder | Games | Jobs | Help |

[ HTML Coding ]

All HTML documents must start off with the the "Tag" <HTML>, this signifies to the browser that is is a HTML document. When you want to end your document, insert </HTML> into the last line of your text editor. This tells the browser that the HTML document has ended.
With your text editor open, insert the tag <HTML> in the top left of the page (normal postion). The next significant tag is the <HEAD> tag, this is where the document head information is held, you can place the following tags within the document head: <LINK>, <META>, <TITLE>, <SCRIPT>, <BASE>, <STYLE>.

Example of a HTML document with the <HEAD> tag:

<HTML>
<HEAD>
<TITLE>This is where the title of the page goes</TITLE>
<META NAME="Description" Content="This is where the description of your site goes">
</HEAD>
<BODY>
<H1><CENTER>This is a HTML document!</H1></CENTER>
<P>
<FONT FACE="Arial" Size="2">
<CENTER>This is the body of the HTML document!</FONT></CENTER>
</BODY>
</HTML>

Recommended: Copy and paste this into your text editor, save it as "myfirst.html" under "All Files". Open in with Internet explorer or another browser, presto!

The <TITLE> tag - Specifies the 'title' of the page. eg. This page title is "HTML Coding" ( right up the top in the blue box" )
The <META> tags - Makes your page able to be sorted by search engines, more on these later.
The <H1> tag - "header one", try <H2> and <H3> in a document aswell
The <BODY> tag - This is where the "body" of the page goes
The <P> tag - Inserts a new
paragraph
The <BR> tag - Inserts a line break
The <FONT> tags - Tells the browser which font attributes to display
The <CENTER> - Centers anything after this tag


Note: To end a tag, put a / before the tag name, eg. <BODY> ... ... ... </BODY>

 

On to Your Turn »

[ Recommended ]

Swap 'a' Page - make more hits and some extra cash by swapping pages. Good site. Sign up today.

Contact Advertise
Back to top Back to Main