Page 33 - KEC Khaitan C7 Flipbook
P. 33

<UL>

                 <LI>First responders</LI>
                 <LI>Restaurant inspectors</LI>

                 <LI>Health educators</LI>
                 <LI>Scientists and researchers</LI>

                 <LI>Nutritionists</LI>
                 <LI>Community planners</LI>
                 <LI>Social workers</LI>

                 <LI>Public health physicians
                 </LI>

                 </UL>
                 </BODY>

                 </HTML>

                 DESCRIPTION LISTS
                 A description list is not a list of items. We can use this type of list formatting for defining terms on

                 a web page. It is also called a definition list.
                 A description list is enclosed within the <DL> ....... </DL> tag.

                 It contains the following tags:

                   <DL> tag (Definition List): This tag indicates the beginning of a definition list, grouping terms
                   and their corresponding descriptions.

                   <DT> tag (Definition Term): This tag specifies the name or terms being defined within the list.
                   <DD> tag (Definition Description): This tag provides a description or explanation for each term
                   listed, following the <DT> tag.

                 Write HTML code to print a description list.

                 <!DOCTYPE html>
                 <HTML>
                 <HEAD>

                 <TITLE> List</TITLE></HEAD>
                 <BODY>
                 <H2> Essay on Noise pollution</H2>
                 <DL>
                 <DT>Sources of noise pollution</DT>
                 <DD>The noise from the road vehicles produces disturbance. The noise
                 from the traffic has increased due to increased density of road traffic.

                 Noises created in the construction of buildings, highways, roads, streets
                 with the use of hammers, bulldozers, pavement breakers, etc.</DD>


                                                                                          Lists and Tables in HTML5  31
   28   29   30   31   32   33   34   35   36   37   38