HTML unordered list - how to use <ul> tag

The HTML <ul> tag is used to define an unordered list of items. The list items are defined using the li tag. The list items usually appear as bulletted list unless styled differently.

The list items can be styled to have alternate styles or to have different or no bullets.


The ul tag supports the global and event attributes.


<body> <ul> <li>India</li> <li>China</li> <li>USA</li> </ul> </body>

Related HTML tags: