Home > Web Front-end > Front-end Q&A > what is htmlul

what is htmlul

藏色散人
Release: 2023-01-06 11:12:51
Original
15162 people have browsed it

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

what is htmlul

The operating environment of this article: Windows 7 system, HTML5 version, DELL G3 computer

    Tag definition unordered list.

    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

    what is htmlul

    Example

    Unordered HTML list:

    <html>
    
    <body>
    
    <h4>一个无序列表:</h4>
    <ul>
      <li>咖啡</li>
      <li>茶</li>
      <li>牛奶</li>
    </ul>
    
    </body>
    </html>
    Copy after login

    Effect:

    what is htmlul

    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!

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