Page 89 - Code Craft Computer-7
P. 89
<LI style=color:darkgreen>Bread
<LI style=color:darkgreen>Tomatoes
<LI style=color:darkgreen>Cucumber
<LI style=color:darkgreen>Dressing
<LI style=color:darkgreen>Lettuce
</OL></UL>
</BODY></HTML>
DESCRIPTION LIST
A description list consists of a term followed by its definition. It is used to present a glossary, a list
of terms, or other name/value lists. It starts and ends with <DL> and </DL> tag, respectively. The
<DL> tag is used in conjunction with <DT> and <DD> tags where:
• The <DT> tag is used to define the terms or names.
• The <DD> tag is used to describe each term or name.
<HTML>
<HEAD>
<TITLE> Description List</TITLE>
<STYLE>
BODY {
background- color: #FFFACD;
}
DT{text -transform: uppercase; color: red; font-size: 20px}
DD{color: green; font-size: 20px}
</STYLE></HEAD>
<BODY>
<H1>Parts of a Plant</H1>
<DL>
<DT>Root </DT >
<DD>The underground part of a plant that absorbs water and <BR> nutrients from the soil and anchors the
plant, <BR></DD>
<DT>Stem</DT>
<DD>The main structural part of a plant that supports the leaves, <BR>
flowers, and fruits, while also transporting water, nutrients, and sugars .<BR>
</DD>
<DT>Leaves </DT>
<DD>The flattened, green structures of a plant that are responsible for <BR>
photosynthesis, converting sunlight into energy. <BR></DD>
<DT>Flowers</DT>
<DD>The reproductive structures of a plant, typically consisting of <BR> petals, sepals, stamens, and
pistils, which attract pollinators and produce seeds. <BR></DD>
89

