What is the HTML ul tag?

(*-*)浩
Release: 2019-11-27 14:49:23
Original
6257 people have browsed it

HTML

    Tag

    What is the HTML ul tag?

    ##All major browsers support the
      tag.

      Definition and usage                                                                                                                                                      

        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>
        Copy after login

        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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template