tidy-html5/test/testbase/out_1263391.html

38 lines
982 B
HTML
Raw Normal View History

2015-05-13 11:38:40 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!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"
xml:lang="fr"
lang="fr">
<head>
<title>My page</title>
</head>
<body id="cv">
This should return 2 HTML errors. But there is none<br />
DIV or UL are not allowed in address<br />
<address id="contact_postal">
<div id="identite">
toto titi
</div>
<div id="adresse">
1st street<br />
23X52 - NY<br />
</div>
</address>
<hr />
<address id="contact_autre">
<ul id="contact_tel">
<li id="portable">...</li>
<li id="fixe">...</li>
</ul>
</address>
<hr />
<p>p is allowed within address only in html transitional.</p>
<address id="contact_autre">
<p><a id="adresse_mail"
href="/path/to/contact/page"
name="adresse_mail">contact name</a></p>
</address>
</body>
</html>