What does ul mean in Html
The ul is a tag in Html. Html <ul> tag is used for designing the unordered list of items. The <ul> tag is a pair tag, so it is mandatory to close this tag. For defining the items in the list, we have to use <li> tag in the <ul> tag. If we want to create the ordered list of items in the Html document, then we have to use the <ol> tag.
This tag also uses the attribute type, which sets the bullet style for the list items. We can specify following values in the type attribute:
- Disc
- Circle
- Square
We can easily understand the <ul> tag by the examples. So, we will provide the following various examples.
Example 1: This example uses the type attribute with different values.
The output of example 1 is shown in the following screenshot:
Example 2: This example describes how to create the nested unordered list in Html:
The output of example 2 is shown in the following screenshot: