- Web design
- HTML5
- here
[HTML5] ul tag-Create an unnumbered list
You can use the ul tag to create an unnumbered list.
<ul> </ul>
To add an item to the unnumbered list, place the li tag inside the ul tag .
- Item 1
- Item 2
- Item 3
<ul> <li> Item 1 </li> <li> Item 2 </li> <li> Item 3 </li> </ul>
By default, items in the list are preceded by a black circle.
Erase the black circles in the list
To remove the black circles in the list, specify "list-style: none;" in the style sheet (CSS).
- Item 1
- Item 2
- Item 3
<ul> <li style = "list-style: none;"> Item 1 </li> <li style = "list-style: none;"> Item 2 </li> <li style = "list-style: none;"> Item 3 </li> </ul>
For details on how to create a list, refer to the following articles.