HTML Tag
Definition and usage
(Recommended learning: html tutorial)
An unordered list is a list of items, and the items in this column are marked with bold dots (typical small black circles) mark.Differences between HTML and XHTML
In HTML 4.01, the "compact" and "type" attributes of the ul element are deprecated. .
In XHTML 1.0 Strict DTD, the "compact" and "type" attributes of the ul element are not supported.
TipsTips:
Please use styles to define the type of the list.
ExampleUnordered HTML list:
<html> <body> <h4>一个无序列表:</h4> <ul> <li>咖啡</li> <li>茶</li> <li>牛奶</li> </ul> </body> </html>
The above is the detailed content of What is the HTML ul tag?. For more information, please follow other related articles on the PHP Chinese website!