Tuesday, October 12, 2010

A Basic Document

An element called HTML surrounds the whole document. This element contains two sub-elements, HEAD and BODY. These elements are required to form any HTML document.

<HTML>

<HEAD> has sub-elements that define header material:

<TITLE> document title. The title of your document is what appears
in a web browser’s Favorite or Bookmark list. Your document’s title
should be as descriptive as possible. Search engines on the
Internet use the document’s title for indexing purposes. </TITLE>

<BASE> can be used to record the document's location in the form
of a URL. The URL recorded here may be used to resolve a relative
URL (necessary if the document is not accessed in its original
location). </BASE>

<ISINDEX> indicates to the browser that the document is an index
document. This is used only if the document is on a server that
does indexing. </ISINDEX>

<LINK> indicates a relationship between this document and some
other object on the Web. </LINK>

<META> provides information such as the page’s keywords and
description that appears in HTTP headers. </META>

<SCRIPT> contains either JAVA Script or VB Script </SCRIPT>

<STYLE> contains information used by cascading style sheets </STYLE>

</HEAD>

<BODY> the remaining HTML elements are contained within these tags. </BODY>

</HTML>

No comments:

Post a Comment