A web page is created using a language called, Hypertext Markup Language, better known as HTML. You can write your own HTML within a plain text editor, such as Note Pad, or use an HTML editor, which will write the code for you.

HTML

HTML codes, also referred to as tags, are enclosed by the lesser than (<) and greater than (>) brackets and may be written in capital or lower case letters. The opening bracket is followed by an element, which is a browser command, and ends with the closing bracket. An element may also be followed by attributes, which are words describing the properties of the element, and further instruct the browser. Attributes are only contained in the opening tags to the right of the element and are separated by a space and followed by an equal (=) sign. The value follows the equal sign and is enclosed in quotes.

Below is a very basic HTML document structure. It contains the opening HTML tag, the TITLE tag enclosed between the opening and closing HEAD tags, the opening and closing BODY tags and the closing HTML tag. All of your text, graphics and any additional HTML codes will be placed between the BODY tags.


Each HTML tag above contains an opening tag and a closing tag. The opening tag is written with the command enclosed with brackets. The closing tag contains a forward slash followed by the command enclosed with brackets. The opening tag is telling the browser to begin the specified action and the closing tag is telling the browser to end the action. The proper way to write HTML is to place your closing tags in sequence with the opening tags.

Creating an HTML Page

Begin writing your HTML by creating your document's basic layout. Copy and paste this code into your text or HTML editor.


This area will contain everything that will be visible through a web browser, such as text and graphics. All of the information will be HTML coded. For a complete list of HTML codes and examples, visit our HTML Codes Chart.

Once you've written some HTML, you will need to save your document with an htm or html extension. If the page you’re saving is the main or opening page of your web site, it must be saved as, index.htm or index.html. When you acquire your own domain, your server will look for a file called index when your link, http://www.yourdomain.com/ is clicked on. If you're saving a page other than your main page, try to save it using the page's primary keyword phrase for higher Search Engine ranking. Your file name should look something like this: index.htm

If you’re using a text editor to write your HTML, and you'd like to preview your work, you must view your new page through your web browser. Open your web browser and go to "File" - "Open" on the browser toolbar and then "Browse" through the folders to locate the new page you created. Double click on the file to select it and click on "OK"

SPONSORS