Define defination list with an example.
Answers
Answered by
1
In HTML, a definition list is a type of list whose each line/list item is constructed up from a pair of term and its defintion. Generally, the name/term is placed on left and its defined and aligned after it.
Item 1
Here goes the definition of the first Item.
Item 2
Here goes the definition of the second Item.
To display the above definition list using HTML, <DL> tags are used. Each term of a definition list is marked using <DT> tag and each corresponding definition using <DD> tag.So the HTML code for the above list would be: <DL> <DT>Item 1<dd>Here goes the definition of the first Item. <DT>Item 2<dd>Here goes the definition of the second item. </DL>
Similar questions
Science,
7 months ago
Political Science,
7 months ago
Physics,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago