Document Tags

Document tags are used in HTML to define the HTML document. There are three parts to a document: the HTML declaration, the document head, and the document body.

Type: Standalone

Syntax:

 

or

Description: Accepts values for HREF and TARGET .

Type: Container

Syntax:

 

body of the document

Description: Follows the

tag. All content and tags for a document go in the container tag.

Type: Container

Syntax:

 

head tags

Description: Follows the

tag and can contain other tags, such as , , ,

Description: Usually used with LANGUAGE ; defines the type of scripting language, such as JavaScript.

Description: Used to define the specifications for the document style. TYPE is required. Often used with Cascading Style Sheets.

Type: Container

Syntax:

text

Description: The title for the document, as presented to the browser.

Formatting Tags

Категории