Basic HTML Tags Tutorials | Learn Basic HTML Tags |
||||||||||||
|
||||||||||||
|
HTML Lessons Main :: Home Page :: Tools :: Glossary :: First Steps Tutorials :: Basic HTML Elements :: Text :: Dividers :: Links :: Graphics :: Lists :: Tables :: Frames Tips :: Graphics :: Frames/Tables Extra :: Links :: Web Tools :: Web Hosting :: Domains |
This section will try to familiarize you with the most basic HTML tags that make up a homepage. Before you get into text tricks, graphics and links, you must make sure that everyone of your HTML pages contains these tags.
If you open the newly-created HTML file in your default web-browser, it would display as the following:
Let's review the tags used in that first attempt to write HTML. The <HTML> simply defines a document as an HTML document; if you do not use this tag, it is likely that your page won't be opened or displayed correctly. The title of the page comes between the <TITLE> tags, which come between the <HEAD> tags. The <HEAD> tags simply define the header of the document. In the header you can also specify other information besides the title but since I am trying to keep this tutorial very basic, I won't go into that right now. Next, after the closing </HEAD> tag comes the <BODY> tag. Almost every other HTML tag will come between the <BODY> tags, since they define the body (main part) of a HTML document. You can also change the BODY's attributes. BGCOLOR will define the document's background color, you can enter any color you can think of, or even color codes on which we'll get back later. The TEXT attribute is self-explanatory, it defines the default text color. The text color can be changed in the body at will, to create colourful text passages. The LINK, ALINK, and VLINK attributes stand for the a link's default color (LINK), the color of a link when you click on it (ALINK), and the color of a link that you have already visited (VLINK). You can leave these out if you'd like to use the browsers' default colours. Next there'd be the BACKGROUND attribute, which we didn't include in the code above. This defines a background image that would be tiled all across your page. The code would look like this: <BODY BACKGROUND="bg_filename.gif" TEXT=black LINK=red VLINK=orange ALINK=pink> NOTE: You can just use the <BODY> tag alone, without specifying any other attributes, and the document will be displayed in the browser's default colors.
|
![]() ![]()
Screensavers
21,000+ free screensavers for every occasion. Updated Daily! Get The Klip
Desktop Themes
Desktop Wallpaper
Funny Videos
Online Games
Cheat Codes
Song Lyrics
Free Stuff
Greeting Cards
Win Money
HTML Tutorials
Winamp Skins ![]() Free Javascripts Computer Software Free Clipart Freebies Free Backgrounds Web Hosting Directory |
||||||||||