explain the description list with an example
Answers
Answer:
Explanation:
HTML Description Lists
A description list is a list of items with a description or definition of each item. The description list is created using <dl> element. The <dl> element is used in conjunction with the <dt> element which specify a term, and the <dd> element which specify the term's definition.
Answer:
HTML Description Lists
A description list is a list of items with a description or definition of each item. The description list is created using <dl> element. The <dl> element is used in conjunction with the <dt> element which specify a term, and the <dd> element which specify the term's definition.Browsers usually render the definition lists by placing the terms and definitions in separate lines, where the term's definitions are slightly indented.
Example is in the attachment....
The output of the attachment will look something like this.....
Bread
A baked food made of flour.
Coffee
A drink made from roasted coffee beans.