Support

Home About Us Press Services Links Support Download Notice Boards
Forms

HTML works using mark-up tags.

A basic HTML document needs at least three tags: <HTML>, <HEAD> and <BODY> as well as their closing tags.

Tag About
<HTML> Defines the start and end of the HTML document.
<HEAD> Contains information about the document e.g. title
<BODY> Between which goes the main body of the document.

Below is an example of the HTML behind a basic document.

<HTML>
<HEAD>

</HEAD>
<BODY>


</BODY>
</HTML>

You can place other tags within the <HEAD> tags e.g. <TITLE> and <META> .

Tag About
<TITLE> Contains the title of the document which is displayed in the title bar of the browser.
<META> Contains other information and information for search engines e.g. keywords (Needs no closing tag).

The <BODY> tag can also have the attributes; link="colour" to specify the colour for links, alink="colour" to specify the colour for active links, vlink="colour" to specify the colour for visited links, bgcolor="colour" to specify the background colour and background="path to image file" to specify the image to be used for the background. For information on colours click here.

Below is an example of the HTML behind a basic document with the <TITLE> tag some <META> tags and the <BODY> tag attributes.

<HTML>
<HEAD>
<TITLE> A Basic HTML Document </TITLE>
<META name="keywords" content="Basic, HTML, Document">
<META name="description" content="A basic HTML document">
</HEAD>
<BODY link="#003366" alink="#003366" vlink="#003366" bgcolor="FFFFFF">


</BODY>
</HTML>

HTML documents need to be saved with .html or .htm file extensions.

Previous... Next...


Localdial.Com, St Georges Hall, St Georges Esplanade, St Peter Port, Guernsey GY1 2BJ
Tel (0) 1534 872872 Fax (0) 1481 724012 Email info@localdial.com

Terms and Conditions | Terms of Service | Privacy Policy | Anti Spam Policy |
©Copyright 2002 Localdial.Com. All rights reserved.