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.

Attributes

The ul tag supports the global and event attributes.

Examples:

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

Related HTML tags: