Computer Science, asked by npdhiyazhini, 1 month ago

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

Answered by munnysreechoudhury12
0

Answer:

this is the answer ok is this is use full for you

Attachments:
Answered by CɛƖɛxtríα
140

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:

\begin{gathered}\begin{gathered} \small\boxed{\begin{array}{c} \bf  \pmb{HTML\: Definition \: List\qquad\qquad\qquad\qquad\qquad \:  \:  \: \:  \:  }\\ \\  \rm{Bread \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad\qquad\qquad \: } \\  \rm{A \: baked \: food \: made \: of \: flour. \qquad\qquad\qquad} \\  \rm{Coffee\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad} \\  \rm{\qquad  \:  \:  \:  \:  \:  \:  \: A \: drink \: made \: from \: roasted \: coffee \: beans.\qquad \:  \:  \:  \:  \:  \:  \:  \: }\end{array}}\end{gathered} \begin{gathered}\end{gathered} \end{gathered}

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.
Attachments:
Similar questions