Discuss the use of ul and li tag with suitable example of each.
Answers
Answered by
23
<ul>-defines an unordered list
<li>-defines a item list
Answered by
53
The tag "ul" means Unordered List and the tag "li" Listed Items. These are the tags which are used in HTML coding in webpage development, where the need of list arises to be displayed on the webpage.
We can consider a simple example of "ul" as following:-
- item1
- item2
- item3
Now we can take some examples of "li" tag:-
- item1
- item2
- item3
In both cases there are list, but one is in ordered format, and the other is not.
Similar questions