List Tags

There are two types of lists which are

  • Ordered lists, uses numbers or letters. Site navigation on websites usually uses ordered lists.
  • Unordered lists, uses different types of bullets

Both types of lists have two parts which are

  • List container element <ul> or <ol> to indicate list start or end.
  • List element <li>, which contains each item and is one or more.

Ordered Lists example

HTML code

<ol>

<li>One</li>

<li>Two</li>

<li>Three</li>

</ol>

Browser output

List Tags

List Tags 2

Unordered Lists example

HTML code

<ul>

<li>One</li>

<li>Two</li>

<li>Three</li>

</ul>

Browser output

List Tags 3

Go To- Certified CSS3 Developer Tutorial
Share this post
[social_warfare]
Styling Lists
List-Style-Type Property

Get industry recognized certification – Contact us

keyboard_arrow_up