<U>
<UL>

To Contents page for this book.. Go to my bookshelf

<U>

The <U> ... </U> tags state that the enclosed text should be displayed, if practical, underlined. This is an HTML 3.0 element and may not be widely supported. The <U>main point</U> of the exercise...would be displayed as : The main point of the exercise... <U> can also take the CLASS, ID and STYLE attributes to allow style sheet definitions to be applied to it. For more details of these attributes, refer to the Style Sheets topic.

<UL>

The Unordered List element is used to present a list of items which is typically separated by white space and/or marked by bullets. An unordered list must begin with the <UL> element which is immediately followed by a <LI> (list item) element:
<UL>
<LI>First list item
<LI>Second list item
<LI>Third list item
</UL>
The Unordered List element can take the COMPACT attribute, which suggests that a compact rendering be used.
The basic bulleted list has a default progression of bullet types that change according to the level of the list item, from a solid disc, to a circle to a square. Netscape allows the TYPE attribute to be used within the <UL> element so that irrespective of the the indent level, the bullet type can be specified thus :
TYPE=disc
TYPE=circle
TYPE=square
To give even more flexibility to lists, Netscape allows the TYPE attribute to be used within the <LI> element as well. It takes the same values as <UL> and it changes the list type for that item, and all subsequent items. The TYPE attribute when used in the <UL> and <LI> Elements is Netscape specific. <UL> and <LI> can also take the CLASS, ID and STYLE attributes to allow style sheet definitions to be applied to them. For more details of these attributes, refer to the Style Sheets topic.

To Contents page for this book.. Go to my bookshelf