What does ol mean in html?

WBOY
Release: 2021-12-21 09:27:23
Original
10032 people have browsed it

In html, ol is the abbreviation of "ordered lists", which means ordered list. The ol tag is used in conjunction with the li list item to define an ordered list. The list sorting is displayed in numbers, and the syntax is "

<ol><li>...</li></ol>”.

What does ol mean in html?

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

What does ol mean in html

    tag defines an ordered list. The sorting of the list is displayed numerically. Use the
  1. tag to define list options.

    The syntax is:

    <ol><li>...</li></ol>
    Copy after login

    The example is as follows:

    <html>
    <head> 
    <meta charset="utf-8"> 
    <title>123</title> 
    </head>
    <body>
    <ol>
      <li>Coffee</li>
      <li>Tea</li>
      <li>Milk</li>
    </ol>
    <ol start="50">
      <li>Coffee</li>
      <li>Tea</li>
      <li>Milk</li>
    </ol>
     
    </body>
    </html>
    Copy after login

    Output result:

    What does ol mean in html?

    Recommended tutorial: "html video tutorial"

The above is the detailed content of What does ol mean in html?. 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