Adding ordered and unordered list to HTML.
ADDING ORDERED AND UNORDERED LIST.
In html we can add and list the items in very well mannered order
there are two types of lists , those are
1) ordered list .
2) unordered list.
: ORDERED LIST
ordered list is the collection of many items in a systematic manner and neatly represented in the given order by the user
ordered list is very easy to execute and to implement it............................
<ol> this is the syntax of ordered list
# first we must open the tag <ol>
# first we must open the tag <ol>
# In the tag we can specify the type of listings like numbers,alphabets,roman numbers and many more etc.
ie <ol type="1"> this tag specifies the list type is numerical.
# next after the ordered list tag we have to specify the list items
ie <li> item name </li>.
# at the end we can end/close the ordered list tag .
ie </ol>
EXAMPLE:
CODE
: UNORDERED LIST
unordered list is the collection of many items in a unordered manner
unordered list is also very easy to execute and to implement it............................
<ul> this is the syntax of unordered list
# first we must open the tag <ul>
# first we must open the tag <ul>
# In the tag we can specify the type of listings like dot,comma,square box and many more etc.
ie <ul type="square"> this tag specifies the list type is in square box shape.
# next after the unordered list tag we have to specify the list items
ie <li> item name </li>.
# at the end we can end/close the unordered list tag .
ie </ul>
EXAMPLE:
CODE
Comments
Post a Comment
If you have any doubts let me know in comments