HTML Lists


<OL>
</OL>
The OL stands for Ordered List, of course. But those two tags won't get you a list. You need to include another tag, the LI tag. LI stands for List Item. You need one pair of LI tags for every item in your list. So for three items, the code is this:
To get the bulleted list, the UL tag is used. UL stands for Unordered List. It's used in exactly the same way. Just substitute the OL tags for UL tags.
For both the Ordered and Unordered list, you can specify which type you want to use for the bullets or numbers. The types are these:



There are three types of bullets you can use for unordered lists: Disc, Circle, and Square. You use them like this:



Some Basic HTML Tags
Tag | Explanation | Attribute | Options |
<H1>, <H2>, <H3> ... <H6> | Heading Tags | ||
<P> | Start a new paragraph | ||
<BR> | Single line break | ||
<B> | Bold text | ||
<I> | Italics | ||
<OL> | Ordered List | TYPE | A (Capitals) a (Lowercase) I (Capital Roman Numerals) i (Lowercase Roman Numerals) 1 (Numbers) |
<UL> | Unordered List | TYPE | Circle, Disc, Square |
<LI> | An item for your list |
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন