summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/h1/model-novalid.html
blob: 86eafc073d24c14beaf0d5b28f78b069d9d34b74 (plain)
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
<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8>
  <title>&lt;h1&gt;</title>
</head>
<body>
  <!-- is not strictly inline -->
  <p><dfn>text 
    <h1>more text</h1>
  </dfn></p>

  <!-- is not structured inline -->
  <p>text
    <h1>more text</h1>
  </p>

  <!-- cannot contain blocks -->
  <h1>
    <p>p1</p>
    <p>p2</p>
  </h1>

  <!-- cannot contain structured inline -->
  <h1>text
    <ul><li>text</li></ul>
  </h1>
</body>
</html>