HTML <ul> tag
When writing in HTML, the <ul> tag is a block element used to designate an unordered list. It is useful for creating bulleted lists, those where the order of the items is arbitrary. The following sections contain information about the <ul> tag, including an example of it in use, and related attributes and browser compatibility.
If you wanted to create an ordered list or numbered list, use the <ol> tag.
Example of <ul> code
<h3>Unordered List</h3> <ul>
<li>First bullet point</li>
<li>Second bullet point</li>
<li>Third bullet point</li>
Each bullet is created using the <li> tag, which designates a list item.
- First bullet point
- Second bullet point
- Third bullet point
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. A deprecated attribute is one that may function currently but is not supported in going forward. While the attribute may work with the current version of HTML, it will eventually be phased out. It is better to avoid using these attributes to help future-proof your website.
|compact||Designates that the list should appear smaller.|
|type||Designates the type of markers to use in a list.|
|All versions||All versions||All versions||All version||All versions||All versions|