- <ul> element is used to define an unordered list of items
- <li> element is used to represent an item in a list.
example:
creating a list of fruit on a webpage
HTML - Code View
<ul>
<li> apples </li>
<li> oranges </li>
<li> bananas </li>
<li> watermelon </li>
</ul>
HTML - Design view
- apples
- oranges
- bananas
- watermelon
No comments:
Post a Comment