html bullet 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: how to get number list in html

<ol>
<li>Example</li>
<li>Example2</li>
<li>Example3</li>
</ol>

Example 3: html nested list

<!-- Creat a list inside list -->

<ul>
  <li>Coffee</li>
  <li>Tea
    <!-- nested list -->
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>

Example 4: html unordered list

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

Example 5: bullet list html

<ul>
  <li>Eggs</li>
  <li>Pancakes</li>
  <li>Jelly</li>
</ul>

Tags:

Css Example