<html><head> - HTML Head Section

 

ATTENTION: THIS PAGE IS Valid HTML 5 AND IS BEST VIEWED WITH HTML 5 - Please upgrade your browser or download one of the HTML 5 compatible browsers such as Mozilla Firefox, Chrome, Opera or IE 9 (March 14, 2011 or later). For more information see HTML 5 browsers.


If you find this helpful, please click the Google +1 Button to the left, if it is white, to make it turn blue or red. Thank you! (It also helps find this page again more easily.)


PDF mobile

HTML <head> Section

The HTML head section separates metadata information from actual content of the document in the body section. It is created by the <head> tag, which is coded inside the html element at the top of the HTML structure. The head section must always contain a page title, which appears in the title bar of the web browser window. The head section may also contain other metadata tags.

Content of HTML Head Section
Content Model of <head> Tag

The expected content of the <head> tag consists of HTML elements categorized as metadata content elements. (In the HTML tag list, click on an HTML tag to see the content model of that element.)

The content of the head element is expected to be metadata content with some restrictions. Therefore, the following metadata elements can be coded between the starting <head> tag and the ending </head> tag:

HTML TagContent of <head>...</head> Element
<title> requireda single required title element with the title that is to appear in the browser's address bar
<base/>an optional base element
<command/>optional command element(s)
<link/>optional link element(s)
<meta/>optional meta element(s)
<noscript>optional noscript element(s)
<script>optional script element(s)
<style>optional style element(s)
<rdf:RDF>optional RDF element(s)
<!--comments-->possibly interspersed with HTML comments

Valid HTML 5