How to add list items in HTML?

PHPz
Release: 2023-09-21 14:05:02
forward
1646 people have browsed it

How to add list items in HTML?

HTML

  • tag is used to add ordered list items, unordered list items, directory lists and menu lists. The tag also supports the following additional attributes -##TypeA##DeprecatedValue > tbody>Example
    Attribute

    Value

    Description

    a

    I

    i

    1

    Disk Square Circle

    - Specify the type of the list

    Number

    Specify the value of the list item

    You can try running the following code to add list items in HTML-

    <!DOCTYPE html>
    <html>
       <head>
          <title>HTML li Tag</title>
       </head>
       <body>
          <p>Rank</p>
          <ul>
             <li>India</li>
             <li>Australia</li>
             <li>South Africa</li>
          </ul>
       </body>
    </html>
    Copy after login

  • The above is the detailed content of How to add list items in HTML?. For more information, please follow other related articles on the PHP Chinese website!

    source:tutorialspoint.com
    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