Important Notice:

Course Content
Heading Tag / Paragraph Tag
0/2
Horizontal Rules (HR element)
0/1
Font Element
0/1
Image Element
0/1
HTML Basic (Chapter 3) M2-R5.1
About Lesson

Definition List

किसी शब्द या Term विशेष को परिभाषित करने के लिए Definition Lists को बनाया जाता है Definition List को <dl> Tag से Define किया जाता है Definition Term को <dt> और Definition Description को <dd> Element से Define किया जाता है

<dl>

     <dt>College</dt>

                        <dd>A boring place</dd>

     <dt>Library</dt>

                        <dd>Learn as much as you can</dd>

     <dt>Railway Station</dt>

                        <dd>too much croweded</dd>

</dl>

Definition List

A definition list is a list of terms, with a definition of each term. We can create definition list by using the <dl>….. </dl> with <dt>  and <dd> tag.

The <dt>….</dt> tag is used to define the term; whereas, the <dd> tag is used to give the term’s definition.

<dl>

     <dt>College</dt>

     <dd>A boring place</dd>

     <dt>Library</dt>

     <dd>Learn as much as you can</dd>

     <dt>Railway Station</dt>

     <dd>too much croweded</dd>

</dl>

error: Content is protected !!