

session -3 HTML TAGS
Tags begin with a less-then sign (<) and end with the greater-than sign (>) Between the < > is a code which describes what you want to do. The first and last tags in a document should always be the HTML tags. These are the tags that tell a where the HTML in your document begins and ends. The most basic of all possible Web documents is:<HTML> </HTML>If you load such a page into a Web browser, it would give you a blank screen
HEAD
The HEAD tags contain all of the document's header information, things like the document title and so on.
TITLE
This container is placed within the HEAD structure. Between the TITLE tags, you should have the title of your document. This will appear at the top of the browser's title bar, and also appears in the history list. The contents of the TITLE container go into your bookmark file, if you create a bookmark to a page. Users will be confused by exceedingly long titles.
BODY
BODY comes after the HEAD structure. Between the BODY tags, you find everything that is displayed in the browser window. All of the text, the graphics, and links, and so forth.
<HTML> <HEAD> <TITLE>Document Title</TITLE> </HEAD> <BODY> </BODY> </HTML>This time, the result would be a document with a completely blank browser window, but the words "Document Title" would appear in the browser's history list!-- Page generated on 11/1/00 with HTML Creator 2.5 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Untitled HTML Page</TITLE>
<META NAME="author" CONTENT="Gene Lapansie">
<META NAME="generator" CONTENT="HTML Creator 2.5">
</HEAD>
<BODY BGCOLOR="White" TEXT="Black" LINK="Blue" ALINK="Red" VLINK="Magenta" LEFTMARGIN=0 TOPMARGIN=0>
<!-- Enter your code here -->
</BODY>
</HTML>
|
|
|
|
|
|
|
|
|