Page 48 - Chinmaya_C7_flipbook
P. 48
<LI>Olive</LI> It contains the following tags:
<LI>Persimmons</LI> <DL> tag (Definition List): This tag marks the beginning of the definition list.
</OL>
<DT> tag (Data Term): This tag defines the names or terms.
</BODY>
</HTML> <DD> tag (Data Definition): This tag describes each item in the description list.
Write HTML code to print a description list.
UNORDERED LISTS
<!DOCTYPE html>
An unordered list is used when the items in the list are not required to be in a specific order. It is
also called a bulleted list. An unordered list is enclosed within the <UL> ....... </UL> tag. Each item <HTML>
in the list is given an <LI> tag, which specifies the list item. <HEAD>
<TITLE> List</TITLE></HEAD>
Write HTML codes to print an unordered list. <BODY>
<!DOCTYPE html> <H2> Essay on Noise pollution</H2>
<DL>
<HTML>
<DT>Sources of noise pollution</DT>
<HEAD>
<DD>The noise from the road vehicles produces disturbance. The noise
<TITLE> Unordered List </TITLE> </HEAD> from the traffic has increased due to increased density of road traffic.
<BODY> Noises created in the construction of buildings, highways, roads, streets
with the use of hammers, bulldozers, pavement breakers, etc.</DD>
<H2>People working in the field of public health:</H2>
<DT>Effects of Noise Pollution</DT>
<UL>
<DD>It induces deflation of muscles which results into a nervous breakdown
<LI>First responders</LI> and strain. Irritation, headache, dismay are the most common effects of
<LI>Restaurant inspectors</LI> noise pollution which ultimately affects work efficiency.</DD>
</DL>
<LI>Health educators</LI>
</BODY>
<LI>Scientists and researchers</LI>
</HTML>
<LI>Nutritionists</LI>
<LI>Community planners</LI>
<LI>Social workers</LI>
<LI>Public health
physicians</LI>
</UL>
</BODY>
</HTML>
NESTED LIST
DESCRIPTION LISTS
An item on a list can contain another list. The list within a list is known as a nested list or
A description list is not a list of items. We can use this type of list formatting for defining terms on sub-list.
a web page. It is also called a difinition list.
Write HTML code to create a nested list.
A description list is enclosed within the <DL> ....... </DL> tag.
<!DOCTYPE html>
46 Premium Edition-VII

