Home  >  Article  >  Web Front-end  >  How to use html ul tag

How to use html ul tag

青灯夜游
青灯夜游Original
2019-05-27 16:37:586036browse

html The ul tag is used to define an unordered list and can be used with the

  • tag to create an unordered list. You can use CSS styles to define the type of list, and all major browsers support the
      tag.

      How to use html ul tag

      #html How to use ul tag?

      Function: Define an unordered list.

      Instructions: Please use styles to define the type of list. The

        tag is supported by all major browsers.

        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:

        How to use html ul tag

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

    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:How to use html u tagNext article:How to use html u tag