html ul is an HTML tag used to define an unordered list. The usage syntax of the ul tag is such as "
”.
- coffee
- tea
> ;- Milk
The operating environment of this article: Windows 7 system, HTML5 version, DELL G3 computer
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.
Tips and Notes:
Tips: Please use styles to define the type of the list.
Optional attributes
Example
Unordered HTML list:
<html> <body> <h4>一个无序列表:</h4> <ul> <li>咖啡</li> <li>茶</li> <li>牛奶</li> </ul> </body> </html>
Effect:
Recommended study: "HTML video tutorial"
The above is the detailed content of what is htmlul. For more information, please follow other related articles on the PHP Chinese website!