Home > Article > Web Front-end > How to use html ul tag
html The ul tag is used to define an unordered list and can be used with the
#html How to use ul tag?
Function: Define an unordered list.
Instructions: Please use styles to define the type of list. The
Note: In HTML 4.01, the "compact" and "type" attributes are deprecated. HTML5 does not support these two attributes.
html ul tag example
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <h4>一个无序列表:</h4> <ul> <li>西门大官人</li> <li>灭绝师太</li> <li>欧阳克</li> <li>韦小宝</li> </ul> </body> </html>
Rendering:
The above is the detailed content of How to use html ul tag. For more information, please follow other related articles on the PHP Chinese website!