FIND THE OUTPUT OF THE FOLLOWING PROGRAM:
<html>
<head>
<title>HTML Description or Definition List</title>
</head>
<body>
<h2>HTML Definition List</h2>
<dl>
<dt>Bread</dt>
<dd>A baked food made of flour.</dd>
<dt> Coffce</dt>
<dd>A drink made from roasted coffee beans.</dd>
<dl>
</body>
<html>
Answers
Answer:
this is the answer ok is this is use full for you
The program given in the question is as follows:
<html>
<head>
<title> HTML Description or Definition List </title>
</head>
<body>
<h2> HTML Definition List </h2>
<dl>
<dt> Bread </dt>
<dd> A baked food made of flour. </dd>
<dt> Coffce</dt>
<dd> A drink made from roasted coffee beans. </dd>
</dl>
</body>
<html>
We've been asked to find the output of the given program. Its output will be rendered as follows:
Here, the tags of description list has been used. A description list is the list that gives a brief description of the listed items. It is used to list multiple terms and their description. <DL> and </DL> tags are used to create a description list. Instead of having <LI> tag to specify list items, the description list uses:
- <DT> Description term tag to specify the description list item.
- <DD> Description tag to give the brief description of the description list item.