Welcome Guest! (App Version 3.1)
IntroductionHTML Tutorial What is HTML? My First Program in HTML Doctype Block Elements in HTML Inline Elements in HTML
Box ModelWhat is Box Model Content in Box Model Padding in Box Model Border in Box Model Margin in Box Model
HTML TagsDiv Tags H1 to H6 Tags Paragraphs Tags Span Tags Bold Tags Italic Tags
HTML UtilitiesAdding Images Adding Hyperlinks Adding Comments Types of Lists Tables Iframes Breaking Lines Horizontal Line
FormsForms in HTML Text-Box Radio Checkbox Select and Option Text Area Button Submit
HTML 5What is new in HTML5 Syntax Changes New Elements & Properties Semantic Tags New Elements New Input Types Graphics Support Canvas SVG Media Support Audio Video Client Side Storage Local Storage Session Storage Indexed DB Web SQL [dep] Cookies API Support Web Worker Web Sockets Service Worker App Cache [dep] SSE Drag & Drop Geolocation
HTML QuizHTML Quiz 1
In HTML there are 3 types of lists -- unordered, ordered and definition lists.
While unordered list adds bullets in front of list items, ordered list adds numbers in front of the list, but definition list is quite different. It has a definition title and then a definition description.
All the 3 lists are used for different purposes. While unordered list is used where the order is not of much importance, such as list of items to buy from super-market, ordered list is used where the order gets importance. For example, the Nations Ranking in Olympic as per their performance or medals won by them.
Definition list is used mostly like in glossary, where there is a title and then something about it.
Unordered list has bullet points or black circles in front of all list items. Look at the example below:
Ordered list has numbers in front of all list items. Here the order of list items has its importance. Look at the example below:
Definition lists are not used very much. You may use them however sometimes to provide Definition topics with their Definitions or details. Definition lists have 2 parts - dt (Definition type) and dd (Definition description).
<dd>A device that helps in computing.</dd>
<dd>Warm feeling between 2 hearts.</dd>