ul and li in html code example

Example 1: html lists

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

Example 2: html ul types

#Type 1
<ul style="list-style-type:disk">
	<li>Disk</li>
</ul>
#Type 2
<ul style="list-style-type:circle">
	<li>Circle</li>
</ul>
#Type 3
<ul style="list-style-type:square">
	<li>Square</li>
</ul>

Example 3: html unordered list

<ul>
  <lh>ul Header</lh>
  <li>Item One</li>
  <li>Item Two</li>
  <li>Item Thre</li>
</ul>

Example 4: hrml bulet points

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

Example 5: li html

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

Example 6: 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

Tags:

Misc Example