10 of 133 menu

The ul tag

The ul tag creates a so-called unordered list with dotted markers.

The ul tag should be used together with the li tag, which creates list items (and ul creates the list itself, see example below). Without the li tag, the ul tag is not used.

You can change or completely remove list markers using the CSS property list-style-type.

Example

Let's look at an example of what the ul list looks like:

<ul> <li>list item</li> <li>list item</li> <li>list item</li> <li>list item</li> <li>list item</li> </ul>

:

See also

  • tag ol,
    which creates an ordered list
byenru