Without formatting tags , your page will appear as one continuous
block
of text with single spacing between words.
Web browsers will only read
html code. To format text, you
must use html "formatting tags".
In the
following lessons you
will learn how to add formatting attributes
to your
document to change the look of your web page.
Creating A Formatted List:
Unordered
List
Tag
<UL>
The unordered list tag sets up a list of related items that have no special order or sequence.
Each item in the list is bulleted.
The closing tag is required to end the list.
Ordered List
Tag Sets
<OL>
The ordered list tag sets up a list of related items that have a special order or sequence.
Each item in the list is numbered (or lettered).
The closing tag is required to end the list. <LI>
This tag defines each item a unordered or ordered list such in the two examples above.
Its companion end tag is not required.
Definition Lists Are Intended for Definitions.
<DL>
The definition list tag sets up a list of terms. This is an ideal way to present a glossary,
list of terms, or other name-value list in HTML. Each item in a definition list is composed
of two parts: a term followed by its definition or explanation. Browsers normally render the term at the left margin and render the definition below it and indented.
(This reference list uses definition list tags to show the tags and their uses!)
<DT>
This tag defines each term in a definition list. Its companion end tag is not required.
<DD>
This tag defines each definition in a definition list. Its companion end tag is not required.
So far you have learned the basics of putting together a web page.
Now that you see all the different page formatting options available,
experience with them and in the next lesson we will give you an
example of how to use the "Bulleted and the Ordered List" formatting tags.