HTML4 HTML5
Creates an unordered bulleted list.
Both opening and closing tags are required.
The browser will interpret this code as follows:
We use the <li> tag to define individual list items.
The appearance of a bulleted list can be modified using attributes:
compact - present in HTML4, not supported in HTML5. Displays the list in a smaller font - compact list.
reversed - attribute added in HTML5, not present in HTML4. Reverses the list numbering order.
start="number" - starting number of the first item in the list.
type="value" - not present in HTML5, specifies the type of numbering or bullet point for the list item:
The browser will interpret this code as follows: