HTML Hyper Text Markup Language: Creating A HTML Web PageA Basic HTML Web PageCreating A Basic HTML Web PageThere are 4 HTML Tags you need to learn to create a basic page:
<HTML> and
</HTML> These are the 4 tags that MUST appear on a page in order for it be viewed correctly. The <HTML> TagThis set of Opening and Closing Tags tell your browser that the document it is loading is an HTML document. The Opening <HTML> Tag MUST appear at the very top of your document since the rest of your document has to reside inside this Tag.The Closing </HTML> Tag MUST appear at the very bottom of your document. This Tag tells the browser that there is no more HTML document to display.
The <HEAD> TagThe HEAD portion of your page will display absolutely nothing in your browser. It's function is to contain hidden internal information your browser requires to display your page properly. Between the Opening <HEAD> Tag and the Closing </HEAD> Tag you will often find the Meta Tag elements and possibly Javascript Tags.
The <TITLE> TagThe TITLE Tag set is entered INSIDE your HEAD Tag set, like this:
<HEAD> The TITLE Tag is probably the most confusing tag of all, to novice HTML coders. All this tag does is display whatever text you enter as the TITLE in your browser's TITLE BAR. This TITLE does NOT appear anywhere on your page! NOTE: Most Search Engines use your title when it displays search results to a viewer. Keep your title short (no more than 10 words) and try to describe the main theme of your site.
The <BODY> TagAll of the text and images you put on your page must appear BETWEEN the Opening and Closing <BODY> tags. There are several basic Attributes that you can use in the Opening <BODY> Tag.
BACKGROUND= BACKGROUND="picture.gif" or if it is in a different folder than the page you are writing: BACKGROUND="otherfoldernamehere/picture.gif"
BGCOLOR= BGCOLOR="#FFFFFF" or "White"
TEXT= TEXT="#000000" or "Black"
LINK= LINK="#008080"
VLINK= VLINK="#FFFF00"
ALINK= ALINK="#FF0000"
Creating A Page With These TagsHere is the complete tag setup for a Basic Home Page that incorporates ALL of the Tag sets we have discussed in this section:
<HTML> <BODY BACKGROUND="picture.gif" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> This is where all the wonderful stuff you want to show on your page goes. </BODY></HTML> |