Page 87 - ConceptGP_C7_Fb
P. 87

<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 marks the beginning of the definition list.
                   <DT> tag (Data Term): This tag defines the names or terms.

                   <DD> tag (Data Definition): This tag describes each item in the description list.
                 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>

                 <DT>Effects of Noise Pollution</DT>
                 <DD>It induces deflation of muscles which results into a nervous
                 breakdown and strain. Irritation, headache, dismay are the most common
                 effects  of  noise  pollution
                 which  ultimately  affects
                 work efficiency.</DD>
                 </DL>
                 </BODY>
                 </HTML>



                           NESTED LIST


                 An item on a list can contain another list. The list within a list is known as a nested list or
                 sub-list.



                                                                                          Lists and Tables in HTML5  85
   82   83   84   85   86   87   88   89   90   91   92