What are the html unordered list tags?

青灯夜游
Release: 2021-11-17 13:58:05
Original
23540 people have browsed it

htmlUnordered list tags include "

    " and "
  • ". These two tags can be used together to create an unordered list. The "
      " tag is used to define an unordered list, which is the framework for creating an unordered list; while the "
    • " tag defines list items in an unordered list, and a "
    • " tag represents a list item.

What are the html unordered list tags?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

htmlUnordered list tags include "

    " and "
  • "; the "
      " tag is used together with the "
    • " tag to create an unordered list.
      • The "

          " tag is used to define an unordered list
      • The "

      • " tag defines an unordered list List items

      A "

    • " tag represents a list item.

      Let’s take a look at the code example to see what the unordered list looks like

      <ul>
          <li>Coffee</li>
          <li>Tea</li>
          <li>Milk</li>
          <li>....</li>
      </ul>
      Copy after login

      What are the html unordered list tags?

      It can be set through the type attribute of the ul tag The type of list item symbol.

      • disc—solid circle (default)

      • circle—hollow circle

      • square—solid Block

      <ul type="disc">
        <li>Coffee</li>
        <li>Tea</li>
        <li>Milk</li>
      </ul>
      
      <ul type="circle">
        <li>Coffee</li>
        <li>Tea</li>
        <li>Milk</li>
      </ul>
      
      <ul type="square">
        <li>Coffee</li>
        <li>Tea</li>
        <li>Milk</li>
      </ul>
      Copy after login

      What are the html unordered list tags?

      Recommended tutorial: "html video tutorial"

The above is the detailed content of What are the html unordered list tags?. 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