UK [li:] US [li:]

abbr.Liechtenstein Liechtenstein

htmlli tag syntax

Function:Define list items.

Description: <li> tag can be used in ordered lists (<ol>) and unordered lists (<ul>).

Note: Please use CSS to define the types of lists and list items.

htmlli tag example

<html>
<body>

<p>有序列表:</p>
<ol>
  <li>打開冰箱門</li>
  <li>把大象放進(jìn)去</li>
  <li>關(guān)上冰箱門</li>
</ol>

<p>無(wú)序列表:</p>
<ul>
  <li>雪碧</li>
  <li>可樂(lè)</li>
  <li>涼茶</li>
</ul>

</body>
</html>

Run instance ?

Click the "Run instance" button to view the online instance