Page 110 - Plus_V2.2_C7_Flipbook
P. 110
Definition List
Definition lists are used for creating a glossary, which contains various terms and their definitions. This
type of list contains two parts— a term and a definition or description. Or we can define definition list
as a list of items that are indented text block definitions.
Creating Definition List
The definition list is created using <DL> tag. Here <DL> stands for definition list. The term inside the
definition list is created using <DT> tag, where <DT> stands for definition list term and the definition or
the description of the term is created using <DD> tag, where <DD> stands for definition list description.
All these tags are container tags.
For example,
<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE>Definition lists.html</TITLE>
</HEAD>
<BODY STYLE="COLOR:BLUE;">
<H1> Learning to create Definition lists</H1>
Key terms
<DL>
<DT>CPU
<DD> Central Processing Unit
<DT>OS
<DD>Operating System
<DT>ALU
<DD>Arithmetic and Logic Unit
</DL>
</BODY>
</HTML> Unordered list with type as ‘square’
Let’s CatCh uP
Interdisciplinary
What is the difference between an ordered list and unordered list?
__________________________________________________________________________________
__________________________________________________________________________________
CREATING TABLES
Tables represent the data in the form of rows and columns. In HTML5, a table is created by using the
<TABLE> tag. The <TABLE> tag should be defined inside the <BODY> tag. It is a container tag. Different
kinds of tables can be created by using the following child tags of the <TABLE> tag:
108 Premium Edition-VII

