Home > Web Front-end > Front-end Q&A > How to use html ul tag

How to use html ul tag

青灯夜游
Release: 2019-05-27 16:37:58
Original
6108 people have browsed it

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

        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!

    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