Home >Web Front-end >HTML Tutorial >What is the HTML ul tag?

What is the HTML ul tag?

(*-*)浩
(*-*)浩Original
2019-11-27 14:49:236304browse

HTML ff6d136ddc5fdfeffaf53ff6ee95f185 Tag

What is the HTML ul tag?

##All major browsers support the ff6d136ddc5fdfeffaf53ff6ee95f185 tag.

Definition and usage                                                                                                                                                      

ff6d136ddc5fdfeffaf53ff6ee95f185 Tags define an unordered list.

(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.

Tips

Tips:

Please use styles to define the type of the list.

Example

Unordered 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:HTML Next article:HTML