The head of an HTML document is an unordered collection of information about
the document. It requires the
<TITLE> element between
</HEAD> elements thus :
<TITLE> Introduction to HTML </TITLE>
</HEAD> elements do
not directly affect the look of the document when rendered.
The following elements are related to the head element. While not directly
affecting the look of the document when rendered (apart from the
<STYLE> element Style
Sheet declarations), they do provide (if used) important information
to the HTML user agent.
<BASE>- Allows base address of HTML document to be specified
<BASEFONT>- Allows setting of a single font to use throughout the document
<ISINDEX>- Allows keyword searching of the document
<LINK>- Indicate relationships between documents
<META>- Specifies document information useable by server/clients
<NEXTID>- Creates unique document identifiers
<STYLE>- Used by browsers that support use of style sheets to specify styles within the document
<TITLE>- Specifies the title of the document
<SCRIPT>- Contains local or links to remote script code
NOTE : The Title element is the only element described here that is required as part of the Head of a HTML document for conformance to any HTML standard.
CLASS="Style Sheet class
CLASS attribute is used to specify the
<HEAD> as using a particular style sheet class. See the
Sheets topic for more information.
ID="Unique element identifier"
ID attribute can be used to either reference a unique style
sheet identifier, or to provide a unique name for the
<HEAD> element for scripting purposes. Any
<HEAD> element with an
ID attribute can be
directly manipulated in script by referencing its
rather than working through the
collection to determine the element. See the
introduction topic for more information.
Consistent with Internet Explorer 4.0's
HTML object model, the
<HEAD> element supports various
properties and methods. In its role as a document structure element, it supports
Of the Standard Dynamic HTML properties,
and title. See the
Dynamic HTML properties topic for details.
Of the Standard Dynamic HTML methods,
setAttribute. See the
Dynamic HTML methods topic for details.
© 1995-1998, Stephen Le Hunte
|file: /Techref/language/html/ib/Document_Structure_Elements/head.htm, 5KB, , updated: 2019/10/11 13:43, local time: 2021/11/30 10:52,
|©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://massmind.org/techref/language/html/ib/Document_Structure_Elements/head.htm"> <HEAD></A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to massmind.org!