++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ T H E B A R E B O N E S G U I D E T O H T M L by Kevin Werbach Version 2.0 -- October 7, 1995 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ After seeing several pleas for a quick-and-dirty description of all the HTML tags, I decided to update the cheat sheet I had created for my own use to serve this purpose. The latest version of this document (as well as translated versions in six languages other than English) may be obtained from . This Guide is designed to be as concise as possible, and therefore it doesn't go into any detail about how to use the various tags. There are numerous step-by-step HTML guides on the Web; I have links to many of them at . The Guide lists all the tags that current versions of most browsers are likely to recognize. I have included virtually all HTML 2.0 tags in the current specification, as well as the popular -- but not standard -- Netscape extensions, and several HTML 3.0 tags that are now in common usage. Excluded are: tags considered archaic, and a few tags that require more complex server interaction. Keep in mind that pages using Netscape tags may not display properly on other browsers. Comments and suggestions are always welcome; you can reach me via Email at . FORMATTING OF THIS DOCUMENT --------------------------------------------------------------------------- This document looks best displayed in a monospaced font. For clarity, I have separated out different attributes that can be applied to the same tag onto separate lines. Generally, multiple attributes can be combined in the same tag. SYMBOLS USED --------------------------------------------------------------------------- URL URL of an external file (or just file name if in the same directory) ? Arbitrary number (i.e. means

,

,

, etc.) % Arbitrary percentage (i.e.
means
, etc.) *** Arbitrary text (i.e. ALT="***" means fill in with text) $$$$$$ Arbitrary hex (i.e. BGCOLOR="#$$$$$$" means BGCOLOR="#00FF1C", etc.) ,,, Comma-delimited (i.e. COORDS=",,," means COORDS="0,0,50,50", etc.) | Alternatives (i.e. ALIGN=LEFT|RIGHT|CENTER means pick one of these) COMPATIBILITY (remember, HTML is evolving and browser implementations vary) --------------------------------------------------------------------------- (no notation) In the HTML 2.0 spec.; should work on all browsers N1.0 Netscape extension introduced with Navigator version 1.0 N1.1 Netscape extension introduced with Navigator version 1.1 N2.0 Netscape extension introduced with Navigator version 2.0 3.0 HTML 3.0 tag implemented by Netscape or other major browsers + This Netscape extension is supported by most other major browsers =========================================================================== =========================================================================== GENERAL (all HTML documents should have these) --------------------------------------------------------------------------- Document Type (beginning and end of file) Title (must be in header) Header (descriptive info, such as title) Body (bulk of the page) STRUCTURAL DEFINITION (appearance controlled by the browser's preferences) --------------------------------------------------------------------------- Heading (the spec. defines 6 levels) 3.0 Align Heading 3.0 Division
3.0 Align Division
Block Quote
(usually indented) Emphasis (usually displayed as italic) Strong Emphasis (usually displayed as bold) Citation (usually italics) Code (for source code listings) Sample Output Keyboard Input Variable Definition (not widely implemented) Author's Address
3.0 Large Font Size 3.0 Small Font Size PRESENTATION FORMATTING (author specifies text appearance) --------------------------------------------------------------------------- Bold Italic 3.0 Underline (not widely implemented yet) 3.0 Strikeout (not widely implemented yet) 3.0 Subscript 3.0 Superscript Typewriter (displays in a monospaced font) Preformatted
        (display text spacing as-is)
         Width          
   (in characters)
N1.0+  Center           
(for both text and images) N1.0 Blinking (the most derided tag ever) N1.0 Font Size (ranges from 1-7) N1.0 Change Font Size N1.0 Base Font Size (from 1-7; default is 3) N2.0 Font Color LINKS AND GRAPHICS --------------------------------------------------------------------------- Link Something Link to Target (if in another document) (if in current document) N2.0 Target Window Define Target Display Image Alignment N1.0 Alignment Alternate *** (if image not displayed) Imagemap (requires a script) N2.0 Imagemap N2.0 Map (describes the map) N2.0 Section 3.0 Dimensions (in pixels) N1.0 Border (in pixels) N1.0 Runaround Space (in pixels) N1.0 Low-Res Proxy N1.1 Client Pull N2.0 Embed Object (insert object into page) N2.0 Object Size DIVIDERS --------------------------------------------------------------------------- Paragraph

(usually a double return) 3.0 Paragraph

(redefined as a container tag) 3.0 Align Text

Line Break
(a single carriage return) N1.0 Clear Textwrap
Horizontal Rule
N1.0 Alignment
N1.0 Thickness
(in pixels) N1.0 Width
(in pixels) N1.0 Width Percent
(as a percentage of page width) N1.0 Solid Line
(without the 3D cutout look) N1.0 No Break (prevents line breaks) N1.0 Word Break (where to break a line if needed) LISTS (lists can be nested) ---------------------------------------------------------------------------- Unordered List
(
  • before each list item) N1.0 Bullet Type
      (for the whole list)
    • (this & subsequent) Ordered List
      (
    • before each list item) N1.0 Numbering Type
        (for the whole list)
      1. (this & subsequent) N1.0 Starting Number
          (for the whole list)
        1. (this & subsequent) Definition List
          (
          =term,
          =definition) Menu List
        2. (
        3. before each list item) Directory List
        4. (
        5. before each list item) BACKGROUNDS AND COLORS --------------------------------------------------------------------------- 3.0 Tiled Bkground N1.1+ Bkground Color (order is red/green/blue) N1.1+ Text Color N1.1+ Link Color N1.1+ Visited Link N1.1 Active Link (More info at ) SPECIAL CHARACTERS (these must all be in lower case) --------------------------------------------------------------------------- Special Character &#?; (where ? is the ISO 8859-1 code) < < > > & & " " Registered TM ® N1.0+ Registered TM ® Copyright © N1.0+ Copyright © (Complete list at ) FORMS (generally require a script on your server) --------------------------------------------------------------------------- Define Form
          N2.0 File Upload
          Field Name Field Value Checked? (checkboxes and radio boxes) Field Size (in characters) Max Length (in characters) Selection List Name of List # of Options Multiple Choice Name of Box N2.0 Wrap Text TABLES --------------------------------------------------------------------------- 3.0 Define Table
          3.0 Table Border
          (either on or off) N1.1 Table Border
          (you can set the value) N1.1 Cell Spacing N1.1 Cell Padding
          N1.1 Desired Width
          (in pixels) N1.1 Width Percent
          (percentage of page) 3.0 Table Row 3.0 Alignment 3.0 Table Cell (must appear within table rows) 3.0 Alignment (same as data, except bold centered) 3.0 Alignment 3.0 Alignment
          3.0 No linebreaks 3.0 Columns to Span 3.0 Rows to Span N1.1 Desired Width (in pixels) N1.1 Width Percent (percentage of table) 3.0 Table Header 3.0 No Linebreaks 3.0 Columns to Span 3.0 Rows to Span N1.1 Desired Width (in pixels) N1.1 Width Percent (percentage of table) 3.0 Table Caption
          (above/below table) FRAMES (define and manipulate specific regions of the screen) --------------------------------------------------------------------------- N2.0 Frame Document (instead of ) N2.0 Row Heights (pixels or %) N2.0 Row Heights (* = relative size) N2.0 Column Widths (pixels or %) N2.0 Column Widths (* = relative size) N2.0 Define Frame (contents of an individual frame) N2.0 Display Document N2.0 Frame Name N2.0 Margin Width (left and right margins) N2.0 Margin Height (top and bottom margins) N2.0 Scrollbar? N2.0 Not Resizable N2.0 Unframed Content (for non-frames browsers) MISCELLANEOUS --------------------------------------------------------------------------- Comment (not displayed by the browser) Prologue 3.0 Prologue Searchable (indicates a searchable index) N1.0 Prompt (text to prompt input) Send Search (use a real question mark) URL of This File (must be in header) N2.0 Base Window Name (must be in header) Relationship (in header) Meta Information (must be in header) =========================================================================== Copyright (c) 1995 Kevin Werbach. Noncommercial redistribution permitted. This Guide is not a product of Bare Bones Software; the similarity of names is purely coincidental. Contact the author for more information.