English

Which three tags let you create the definition lists?

Advertisements
Advertisements

Question

Which three tags let you create the definition lists?

Code Writing
Very Long Answer
Advertisements

Solution

The three tags that let us create the definition lists are:

  1. <DL> – It is used to define the starting and ending of a definition list.
  2. <DT> – It specifies a definition term.
  3. <DD> – It specifies a definition description. Web browsers usually format the definition on a new line and indent it.

A definition list is written in the following manner:

<DL>

<DT>Apple</DT>

<DD>Apples are rich in vitamins A. They are good for eye sight. They should be eaten in the morning.</DD> 

<DT>Orange</DT>

<DD>Oranges are rich in calcium. They keep the stomach healthy. They should be eaten during the day.</DD> </DL>

 
shaalaa.com
  Is there an error in this question or solution?
Chapter 3: HTML- I: Basic HTML Elements - Assignment [Page 128]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 3 HTML- I: Basic HTML Elements
Assignment | Q 36. | Page 128
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×