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
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 name"
CLASS attribute is used to specify the
<HEAD> as using a particular style sheet class. See the Style 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
ID attribute, rather than working through the All collection to determine the element. See the Scripting introduction topic for more information.
Consistent with Internet Explorer 4.0's Dynamic HTML object model, the
<HEAD> element supports various properties and methods. In its role as a document structure element, it supports no events.
Of the Standard Dynamic HTML properties,
<HEAD> supports className, document, id, isTextEdit, lang, parentElement, sourceIndex, tagName and title. See the Standard Dynamic HTML properties topic for details.
Of the Standard Dynamic HTML methods,
<HEAD> supports contains, getAttribute, removeAttribute and setAttribute. See the Standard Dynamic HTML methods topic for details.
© 1995-1998, Stephen Le Hunte
|file: /Techref/language/html/ib/Document_Structure_Elements/head.htm, 5KB, , updated: 2004/3/1 16:47, local time: 2017/10/19 00:50,
|©2017 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://www.piclist.com/techref/language/html/ib/Document_Structure_Elements/head.htm"> <HEAD></A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171019 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!