An ordered list, which also is called a numbered list, formats information in a series using numbers or letters. An ordered list works well to organize items where order must be emphasized, such as a series of steps. The <ul> and </ul> tags must be at the start and end of an unordered or bulleted list. The <ol> and </ol> tags are used at the start and end of an ordered or numbered list. Unordered and ordered lists have optional bullet and number types. An unordered list can use one of three different bullet options: disc, square, or circle. If no type is identifi ed, the default, disc, is used. An ordered list can use numbers, letters, or Roman numerals.
Example code:
| <ul> <ul style="list-style-type:circle"> <ul style="list-style-type:square"> <ul style="list-style-type:decimal"> <ul style="list-style-type:lower-roman"> <ul style="list-style-type:upper-roman"> |
Result :
No comments:
Post a Comment