• Coffee
  • Tea
  • Milk
  • "."/>
  • Coffee
  • Tea
  • Milk
  • ".">

    Home  >  Article  >  Web Front-end  >  what is htmlul

    what is htmlul

    藏色散人
    藏色散人Original
    2021-05-13 11:16:4415127browse

    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>

      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!

    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