Lists...
Yes I was holding out on you there are many more things you can do with Text
And lists are just a small part of it but there are a few basic types of lists
which can be very helpful if you are trying to lay out a Table of Contents page
or a recipe page perhaps.
the Unordered List
is the simple list which usually displays bulleted lists.
its code is as follows
<UL>
<LI>Item 1</LI>
<LI>Item 2</LI>
<LI>Item 3</LI>
</UL>
which displays as
you can add variables to your list to change the style of bullets.
<UL TYPE=SQUARE>
<LI>Item 1</LI>
<LI>Item 2</LI>
<LI>Item 3</LI>
</UL>
displaying
TYPE can = CIRCLE, SQUARE, DISC, or NONE. If you don't specify you usually get solid discs.
The Ordered List assigns
numbers to the items. Its code is.
<OL>
<LI>Item 1</LI>
<LI>Item 2</LI>
<LI>Item 3</LI>
</OL>
which displays
- Item 1
- Item 1
- Item 1
Definition lists allow you to set up a List with Topics and Definitions
such as
<DL>
<DT>Topic 1</DT>
<DD>item a</DD>
<DD>item b</DD>
<DD>item c</DD>
<DT>Topic 2</DT>
<DD>item a</DD>
<DD>item b</DD>
<DD>item c</DD>
</DL>
which diplays as
- Topic 1
- item a
- item b
- item c
- Topic 2
- item a
- item b
- item c
definition list combined with unordered and ordered lists
- Lower cost
-
- Unordered information.
- Ordered information.
- Definitions.
- Easier to use
-
- item one
- item 2
- item 3
Okay so you made it this far and you have full command of Text but you're starting to
realize that theres just so much you can do with alignment, size and color variables.
There's got to be more...Right?...
Lets get into the meat and potatoes of what makes the web work.
|