|
<HTML>...document...</HTML>
Definition
This tag should begin and end each HTML file.
It should be the outermost layer in the HTML structure.
Attributes
VERSION="URL" - Specifies the URL of
the DTD which is used to interpret this document.
Use
Use this tag to enclose all
HTML documents.
|
<BODY>...body
of the document...</BODY>
Definition
This tag defines or identifies the content
of an HTML document. This is the part of the document that appears
in the browser.
Attributes
ALINK=(#RRGGBB|colorname) - Sets the color for
the active link in the document.
BACKGROUND="ÜRL" - Points to
the image location that is to be used as the background for the document.
BGCOLOR=(#RRGGBB|colorname) - Sets the background
color of the document.
LINK=(#RRGGBB|colorname) - Sets the color for
the links in the document.
TEXT=(#RRGGBB|colorname) - Sets the text color
of the document.
VLINK=(#RRGGBB|colorname) - Sets the color for
visited links in the document.
Use
Use this tag to define or set off
the body of an HTML document. |
|
<HEAD>...head...</HEAD>
Definition
This
tag identifies the first part of the HTML document. It defines the
information pertaining to the HTML document. This includes the title,
meta-information, index information, next page pointer, and links
to other HTML documents.
Attributes
PROFILE="URL"
- Defines the location of a meta-dictionary
or profile.
Use
This tag is needed or required at the
head of an HTML document. It is a good practice to always include
this in your document, especially if you want to have a base URL
that has many graphics or local documents linked to your page.
|
 |
This
is an example HTML code using these four tags. |
| |
|
 |
This
is the generated page for the given code above. |
|