dotted list html code example

Example 1: ul li dot seprator

ul li { list-style: none; display: inline; }
ul li:after { content: " \00b7"; }
ul li:last-child:after { content: none; }

Example 2: how to get number list in html

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

Example 3: bullet list html

<ul>
  <li>Eggs</li>
  <li>Pancakes</li>
  <li>Jelly</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

Tags:

Css Example