HTML and CSS Reference
In-Depth Information
Figure 2.10
Sample
definitionlist.html
HANDS-ON PRACTICE 2.6
Open a new file in Notepad. Use the following sample code to create a definition list.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Definition List</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h1>Sample Definition List</h1>
<dl>
<dt> TCP </dt>
<dd> Transmission Control Protocol is a method (protocol) used
along with the Internet Protocol (IP) to send data in the form of
message units, called packets, between computers over the
Internet. </dd>
<dt> IP </dt>
<dd> Internet Protocol is the method or protocol by which data
is sent from one computer to another on the Internet. Each computer
on the Internet is uniquely identified by an IP address. </dd>
<dt> FTP </dt>
Search WWH ::




Custom Search