HTML24
Description
Output
Source Code
Description
This Html shows the Definition term and definition data it show on your screen the example of that as you see it`s just like a dictionary.....
Output
Web page with two definition lists
This definition list uses DT/DD pairs.
- Term 1
- Here is the definition of the first item
- Term 2
- Here is the definition of the second item
- Term 3
- Here is the definition of the third item
This definition list uses DT, DT, DT followed by DD, DD, DD
- Term 1
- Term 2
- Term 3
- Here is the definition of the first item
- Here is the definition of the second item
- Here is the definition of the third item
Source Code
<HTML>
<HEAD> <TITLE> HTM24. A Web page with definition lists</TITLE></HEAD>
<BODY>
<H2><B><CENTER><FONT COLOR = blue>Web page with two definition lists</FONT> </CENTER> </B> </H2>
This definition list uses DT/DD pairs.
<DL>
<DT>Term 1
<DD>Here is the definition of the first item
<DT>Term 2
<DD>Here is the definition of the second item
<DT>Term 3
<DD>Here is the definition of the third item
</DL>
<!-- List uses DT, DT, DT followed by DD, DD, DD-->This definition list uses DT, DT, DT followed by DD, DD, DD
<DL>
<DT>Term 1
<DT>Term 2
<DT>Term 3
<DD>Here is the definition of the first item
<DD>Here is the definition of the second item
<DD>Here is the definition of the third item
</DL>
</BODY>
</HTML>