Bootstrap lists

In Bootstrap Lists style you will learn how to style HTML lists with Bootstrap and how to use these list Styles.

Defined HTML Lists With Bootstrap-

There are three different types of HTML lists and each one has a specific meaning and purpose. HTML list is used to present a list of information in a semantic way and well-formed.
Bootstrap Lists
Order Lists:- these list items in specific ordered lists which are marked with numbers means that order list used to group a set of related items in a specific order.
An ordered list group starts with the <ol> tag and each list item starts with the <li> tag.
the list item will be marked with numbers, By default,

Unordered Lists:- The related Lists items in no particular order. the list item in unordered lists is marked with bullets.
An unordered list starts with the <ul> tag. each list item starts with the <li> tag.
By default, the list item will be marked with the bullets (such as small black circles)

Description list:- A list of terms with their associated descriptions means that a description list is a list of terms, with a description of each term.
the <dl> the tag defines the description list, the <dt> the tag defines the term (name), and the <dd > the tag describes each term:

Unordered Lists and Unstyled Ordered

when you Build your blog or website sometime you need to remove default styling list item. In that condition apply the class .list-unstyled to the respect <ul> or <ol> elements.


The output result will look something like this.

  • Television
  • Smart Phone
    • Samsung
    • Nokia
    • Micromax
  • Home Theater
  • Refrigerator

Creating Horizontal Definition Lists

you want to create the Horizontal definition lists you can be aligned horizontal side by side using the most powerful framework Bootstrap grid systems predefined classes.


The Horizontal Definition Lists Result will look something like this.

Technology
Reference site about Lorem Ipsum, giving information.
web Hosting
Reference site about Lorem Ipsum, giving information.
language
Reference site about Lorem Ipsum, giving information.

Unordered List and Placing Ordered Items Inline

Unordered List and placing Ordered items inline used when you want to create a Horizontal Menu bar you need to place all menubar list items in a single line such as side by side then apply the simple class .list-inline to the respective <ul> or <ol> and used the class .list-inline-item to the <li> elements.


The Result will look something like this.

  • Home
  • About us
  • Technology
  • Gallery
  • Contact us