ul li in html code example

Example 1: html number list

<ol type="1">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="A">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="a">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="I">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="i">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

Example 2: html lists

Unordered list
<ul>
  <li>something</li>
</ul>
Ordered list
<ol>
  <li>something</li>
</ol>

Example 3: li html

<ol>
  <li>something</li>
  <li>something</li>
</ol>
or
<ul>
  <li>something</li>
  <li>something</li>
  <li>something</li>
</ul>

Example 4: about ul and li tag

The <ul> tag defines an unordered (bulleted) list. Use the <ul> tag together with the <li> tag to create unordered lists

Example 5: ui and li in html

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

Tags:

Html Example