use all HTML 1.0 tags


Contents: headings, lists, markup, entities, images, other, forms, end.

headings This is level 2

heading level 3

heading level 4

heading level 5
heading level 6

List constructs

HTML supports 5 different list constructs:
ul
Unordered lists
ol
Ordered lists
dl
definition lists (like this)
menu
menu lists
dir
directory lists

All of the list constructs can nest, with each successive nesting level indented relative to the previous one. The HTML blockquote element, although not technically a list construct, nests with the other lists.

Lists have two rendering styles, regular

Which leaves a little space between the elements, and compact

Compact lists are a more scrunched together.

Examples of list elements

This is a summary of the list types:

Here is an example of an ordered list

  1. This is item 1
  2. This is item 2
  3. You can see the list items are numbered
    1. When ordered lists are nested
    2. Each nesting level gets its own numbers
  4. This is the end of the ordered list

The other two list styles are directory lists and menu lists. For now, directory lists are rendered excactly like unordered lists, because no-one uses them. Menu lists are also like un-ordered lists, but the're not supposed to nest, and they get a different list marker, like this:

  • menu item 1
  • menu item 2
  • menu item 3
  • Mixed lists

    Definition lists, ordered lists, and un-ordered lists can be freely intermingled (block quotes too). Menu lists and directory lists can be combined with the others, but officially only at the highest nesting level.

    Phrase markup

    HTML has many tags that affect the font style, one can use either functional tags such as strong or cite, which is the prefered method, or markup tags, such as bold or italic.

    The basic font style is a plain medium-roman font.

    target HTML defines many tags that alter the font style. The Three primary style alterations are:

    There are two additional styles that are deprecated, but still used in some contexts. They are

    Font styles may be arbitrarily nested, to obtain combinations like bold italic or Underlined bold mono-spaced. all of the combinations are enumerated somewhere else.

    The functional tags, which map to one of more of the combinations above are:

  • cite - for citations
  • code - for code fragments
  • em - for emphasis
  • kbd - for user input
  • samp - for samples
  • strong
  • var - for variable references

  • HTML entities

    In HTML, the characters &, <, >, and " are special, and need to be represented as: &amp;, &lt;, &gt;, and &quot;.

    n addition, the entire latin-1 character set can be represented similarly, such as &reg; (®) or &ouml; (ö).


    Images

    The library can handle any inline image type that you can coerce into a TK image. Images are often used in HTML to simulate lists, as in:

     This is a good point
     This is a good point too
     This is a bad point
     so is this
     another good one
    

    Sometimes images are used for, well images. The view out the window...


    Other Stuff

    Although not in the spec, I support centering.

    This is a centered heading

    Those are centered balls.
    -
    ---
    -----
    --------
    This is some more centered stuff.
    

    Forms

    HTML defines 3 types of user-modifyable constructs:

  • image maps
  • searchable indexes
  • forms

    An image map is an image defined inside a hyperlink anchor, such as:
    When you click on the image, it tacks the cursor position onto the href value, and (hopefully), the server knows what to do with it.

    The isindex tag is for simple searchable indexes. They look like this:

    or if you use the prompt parameter, like this:

    Like imagemaps, the text you entered is munged beyond recognition, and tacked onto the current link. You can either key return or hit the submit button.

    The remaining contructs occur inside form and /form tags.


    home