Definition List

A definition list is not a list of items. This is a list of terms and explanation of the terms. A definition liststarts with the <dl> tag. Each definition-list term starts with the <dt> tag. Each definition-list definition starts with the <dd> tag.
Inside a definitionlist definition (the <dd> tag) you can put paragraphs, line breaks, images, links, other lists, etc.
<dl> tag is used for definition list. Between <dl> & </dl> you have to enter list of items.
<dt> tag is used for list item terms. Each list item is surrounded by <dt> & </dt> tag.
<dd> tag is used for the definition-list definition.
<dl> <dt> Term1 </dt> <dd> Term definition.<dd> …….<dt> itemn </dt>….</dl>
Example Output

<dd>Books are the great friends.</dd>
<dd>Pen is the biggest power</dd>

Books are the great friends.
Pen is the biggest power
Just write/copy this example inside the body of the HTML file and save the file and open in the browser and see how it looks.
So now you have learned how to create the ordered list in the web page. Now you have done a lot in the list now you saw how simple list are.
Scroll to Top