File: case-1263391.html

package info (click to toggle)
tidy-html5 2%3A5.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,668 kB
  • sloc: ansic: 43,061; ruby: 1,368; sh: 404; xml: 225; cpp: 30; makefile: 26
file content (37 lines) | stat: -rw-r--r-- 982 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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>