3.0 HTML, Document Tags and Properties
<!>

This tag is used for adding comments in the HTML file.

HTML Example

<! VANCOUVER VANCOUVER >

Browser Output

      Previous Section           Table Of Contents            Next Section



<BASE>

HREF=URL | TARGET=Text

This tag allows you to specify the URL for the HTML document. URL specifies the URL from which all relative hyperlinks should be based. Whereas Text specifies the default target window for every hyperlink in the document.

HTML Example

<BASE HREF=WWW.MICROSOFT.COM>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section



<BODY>...</BODY>

ALINK=Color | BACKGROUND=Document

BGCOLOR=Color | BGPROPERTIES=FIXED | LEFTMARGIN=Value

LINK=Color | TEXT=Color

TOPMARGIN=Value | VLINK=Color


This tag encloses all text,images, html tags, and all elements that will be visible to the user on the Web page. The many properties of this tag allow you to specify maney characteristics of your document such as Background colors and images, colors of visited and non-visited hyperlinks, that can be enclosed inside the tag.

HTML Example

<BODY>...</BODY>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section



<HEAD>...</HEAD>


This tag encloses a term that provides information about the document.

HTML Example

<HEAD>...</HEAD>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section



<HTML>...</HTML>


HTML language is designed to describe the content of a web page. Instead of describing how the text in a page looks, HTML uses a code that describes the function that text has in the document. For example, a heading code is used to mark text that appears as a heading of a document. HTML language has a spesific syntax under which it opperates, ensuring that different web browsers recognize these codes in a web document. An HTML document consists of document content and tags, document content is what users see as text or graphic, tags are the HTML codes that indicate document content. HTML tags are usually identified by the brackets(< >) that enclose a specific tag name..In order for a web browser to interpret a document as an HTML document, all it's contents and tags must be enclosed between both an openning and a closing HTML tags

HTML Example

<HTML>

(document contents and tags)

</HTML>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section



<ISINDEX>

ACTION=CGI Program | PROMPT=Text


This tag identifies the file as a searchable document. ACTION sends the submitted text to the program identified by the CGI Program, and PROMPT specifies the text that should be placed before the index's text-input field

HTML Example

<ISINDEX>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section




<LINK>

HREF=URL | ID=Text

REL=URL | REV=URL | TITLE=Text


Hypertext Links makes jumping from one topic on a web page to another as easy as clicking a mouse button. By using this tag, you specify the relationship between the document and other objects. You can specify the URL of the document you want the user to link to. By using the REL and REV properties, you can link the user to the next or previous pages of the document. You also can specify the title of the document named in the link.

HTML Example

<LINK HREF="WWW.MICROSOFT.COM">

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section



<META>

CONTENT=Text | HTTP-EQUIV=Text

NAME=Text


This tag is used to add information about the document, Such information is not defined by other HTML tags and properties.

HTML Example

<META>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section



<TITLE>...</TITLE>


This tag is used to specify the title of the web page, that is the text that appears in the Web browser's title bar.

HTML Example

<TITLE>

The title of the web page

</TITLE>

Browser Output

N/A

      Previous Section           Table Of Contents            Next Section