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.
Here is an example of an 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:
Call me Ishmael. Some years ago--never mind how long precisely --having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen, and regulating the circulation.
item quantity price ---- -------- ----- A 27 $4.36 B 19 $2.84 C 11 $22.34Tabs within preformatted objects each take up half of an indent level. You can also use line breaks inside lists.
This is a new paragraph started inside a list element. In general, except where explicitly prohibited (or indicated otherwise), you may nest any tag within any other tag.
li
constructs to effect indented
paragraphs.
li
tag. As you can see, it looks just like an indented paragraph, a
construct that is not defined in HTML.
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:
In HTML, the characters &, <, >, and " are special, and need to be represented as: &, <, >, and ".
n addition, the entire latin-1 character set can be represented similarly, such as ® (®) or ö (ö).
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...
Those are centered balls. - --- ----- -------- This is some more centered stuff.
HTML defines 3 types of user-modifyable constructs:
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.