• Tutorials Logic, IN
  • +91 8092939553
  • info@tutorialslogic.com

HTML Lists

Lists

Lists are used to represents the list of information in HTML documents. There are three different forms of list available in HTML document, which include the following-

  • Ordered List.
  • Unordered List.
  • Description or Definition List.

Ordered List

An ordered list is a collection of related data items with some specific order or sequence. It is created using the <ol> tag, and each list item starts with the <li> tag.

										    
											<ol>
											    <li>List Item 1</li>
												<li>List Item 2</li>
												<li>List Item 3</li>
											</ol>
											
										

Unordered List

An unordered list is a collection of related data items whithout any specific order or sequence. It is created using the <ul> tag, and each list item starts with the <li> tag.

										    
											<dl>
											    <dt>List Item 1</dt>
												<dd>List Item 1 Description</dd>
												<dt>List Item 2</dt>
												<dd>List Item 2 Description</dd>
												<dt>List Item 3</dt>
												<dd>List Item 3 Description</dd>
											</dl>