how to make lists

how to create a list

To create lists, you can use the following tags: <ul>, <ol> and <li>.

Unordered lists or bullet points use the tags <ul>, <li>

Example: 

  • cleanser
  • sunscreen
  • toner
  • serum
<ul><li>cleanser</li>
<li>sunscreen</li>
<li>toner</li>
<li>serum</li></ul>

Whereas an ordered list uses the tags <ol> and <li>

  1. cleanser
  2. sunscreen
  3. toner
  4. serum
<ol><li>cleanser</li>
<li>serum</li></ol>
<li>toner</li>
<li>serum</li></ol>


Posted

in

by