Page 161 - Web Applications (803) Class 11
P. 161
Definition List
The definition list is also known as description list. The description list is created by using the <DL> tag in conjunction
with <DD> and <dt> tags. The <dl> tag defines the entire description list. The <DT> tag defines the description term.
The <DD> tag defines the description term's definition.
Let us use the <DL> tag to create a definition list.
<!DOCTYPE html>
<HTML>
<HEAD> <TITLE> Definition List </TITLE> </HEAD>
<BODY>
<B> Example of Definition List </B>
<HR>
<DL>
<DT> Beverages </DT>
<DD> Hot and Cold Drinks</DD>
<DT> Cappuccino </DT>
<DD> Hot Drinks </DD>
</DL>
</BODY>
</HTML>
HTML Entities
In HTML, several letters have unique meanings, such as the less than sign (<), which defines the beginning of an HTML
tag. We must insert character entities in place of the actual characters themselves if we want the browser to display
these characters. The following table gives the Entity number for using in HTML code. (Entities are case sensitive)
Symbol Entity Name Entity Number Description
& non-breaking space
< < < less than symbol
> > > greater than symbol
® ® ® registered trademark symbol
© © © copyright symbol
₹ ₹ India rupee sign
$ $ $ dollar symbol
‘ ' ' single quotation mark (apostrophe)
“ " " double quotation mark
& & & ampersand
The HTML entity name can be used to add these symbols to an HTML page. If no entity name is available, the entity
number might be used instead. For example, the following code will give the output as shown below:
Website Development using HTML and CSS 159

