HTML Quick Reference, Page 2 of 9

Structure. Every HTML document should have these tags.
Document Type <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> begin every HTML 3.2 document with this tag
Document Language <HTML> </HTML> place at beginning and end of file
Head <HEAD> </HEAD> descriptive info, esp. title
Body <BODY> </BODY> the actual content of the page


Head. These tags belong in the document head.
Title <TITLE> </TITLE> document name for window title bar and bookmarks; must be in header; the only mandatory tags
Searchable <ISINDEX> prompt for key for simple keyword search with standard prompt string
Prompt <ISINDEX PROMPT="***"> prompt for key with user-defined prompt string
Identifier <NEXTID>
Base URL <BASE HREF="URL"> the absolute URL for resolving relative URLs
Style Sheet <STYLE> for future use with style sheets
Embedded Program Module <SCRIPT> </SCRIPT> surround code (e.g. Javascript) invoked in the page body
User-Defined Keywords <META> application-specific name/value pairs, commonly for searchers
Relationships <LINK REV="***" REL="***" HREF="***"> define relationships with other documents

previous page table of contents Dan Keller Technical Services home page next page
http://keller.com/html-quickref/2.html
Last Updated: Sunday, 11-Jun-2006 14:18:16 CDT

Copyright © 1996
Dan Keller Technical Services