Return to Main Page of Ted’s HTML Tutorial
An HTML source code document typically contains certain “structuring” tags which make up the basic “skeleton” of the source code document. Of the following HTML tags, although none of them are required, 1) the dark blue tags are strongly recommended, and 2) the light blue tags are optional (click on any tags to read more about them):
<BODY>
</HTML>
You can gather information about the home page of a web site I created if you go here: Web Page Example.
Here is what the non-empty HTML, HEAD, and BODY tag pairs are for:
Between the <HEAD> & </HEAD> tags, other non-empty and empty tags may be included:
A search engine (such as Google, Yahoo, AltaVista, Lycos, WebCrawler) searches the web to find pages which contain “keywords” specified by someone utilizing the search engine. <META> tags, embedded in the source code of a web page, are elements that provide information to a search engine about that web page or web site when the search engine is looking for the “keywords” specified by a web user. (The <META> tag information is not displayed on a browser while viewing the page.) There are two main categories of <META> tags: 1) “name” tags (discussed next) and 2) “http-equiv” tags (discussed later). Examples will be included.
The four most commonly used <META NAME> tags are 1) author, 2) description, 3) keywords, and 4) robots (a separate <META> tag should be used for each):
Go to <META> tag list to see a list of the <META> tags included on the page you are viewing now.
When a web page is requested from a web server, the server first checks for the existence of the page. If the page does exist, the server then sends a block of “HTTP headers” to the browser, followed by the requested page. Here is an example of an “HTTP header block” retrieved by my browser for my homepage (located at
The two most commonly used <META HTTP-EQUIV> tags are 1) expires and 2) refresh (a separate <META> tag should be used for each):
The following shows all the HTML tags (including the <META HTTP-EQUIV="REFRESH" CONTENT="time URL=newpage.html"> tag) for the three pages of a brief slideshow. (Note that the last page will return the browser to this page.) Click on Slideshow to see the show in action (each picture will be displayed on your browser for 10 seconds).
The following is a list of all the <META> tags used on the page you are viewing now:
The <BODY> tag may contain within it further parameters as part of the command, each designating the particular colors of various elements of a web document (for more on color coding, go to Color Coding):
Here is the <BODY> code of the initial page (“
Ted’s Comprehensive HTML Tutorial”) of this portion of my web site:Here are examples of “empty” tags, so-called because they occur alone and not as part of a pair:
Here are some examples of horizontal rules:
Proceed to Color Coding
Return to Main Page of Ted’s HTML Tutorial