You are here:  NetStrider » Tutorials » HTMLRef » Commands » HEAD «

HTML Reference Guide

Author: Randy D. Ralph.   In place March 1, 1999.   Copyright © 1999 NetStrider.   Presented as a public service.

BACK <HEAD> Command next

Command Syntax:

<HEAD>
    •    •    •
    HTML Document
    Head Segment

    •    •    •
</HEAD>

The <HEAD> command defines, sets global display parameters for, and contains the HTML Document Head Segment.  The Head Segment contains a number of special commands, summarized below, that set Internet environmental parameters for the document and convey important information about the document to the Internet, the browser and the Internet search engines.  None of the contained HTML code is interpreted and displayed by the browser except for the Document Title defined by the <TITLE> command.

A minimal Head Segment should contain at least a document <TITLE> in order that the document may be citable.

Head Segment Attribute Command Summary:
<META command parameters>

The so-called meta tags declare information about the document to the Internet, the browser and Internet search engines.

<TITLE> Document Title </TITLE>

Defines the Document Title which is displayed in the application title bar of the browser.  This must match exactly the first visible heading of the document in order for it to be citable.

Example:
Minimal Head Segment

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HEAD>
  <META http-equiv="Content-Typetext/html; charset=iso-8859-1">
  <TITLE> Document Title </TITLE>
</HEAD>

  • The <!DOCTYPE . . .> comment just above the Head Segment statements declares a public document in HTML code 3.2 and in English.  It is advisable to include such a document type declarative statement.

  • The <META> command within the Head Segment statements declare that the document is plain HTML text code format and that it uses the standard ISO-8859-1 international character set.  It is advisable to include at least this <META> command statement.

  • The <TITLE> command within the Head Segment declares the Document Title.

    Note:  Document Title must match the first visible document heading in order for
    the document to be citable.
See also:  <BODY>, <HTML>
 

Return to Section E:H


Return to the List of Commands
Author: Randy D. Ralph.  In place March 1, 1999.  Copyright © 1999 NetStrider.  World Rights reserved.




Hosted by uCoz