Definition lists

John Gruber gruber at fedora.net
Wed Jul 27 00:31:33 EDT 2005


Dave Pawson <dave.pawson at gmail.com> wrote on 07/26/05 at 10:34 pm:


> IIRC dt and dt are one offs in XHTML?

> hence n* dd is invalid?


Either you recall incorrectly, or I don't know what you mean by "one
offs". The following is a valid XHTML 1.1 document:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Validate This</title>
</head>
<body>
<dl>
<dd>HTML</dd>
<dd>XHTML</dd>
<dt>Markup languages.</dt>
<dt>Pains in the ass.</dt>
</dl>
</body>
</html>

-J.G.


More information about the Markdown-Discuss mailing list