summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/elements/span/014-isvalid.xhtml
blob: d35d50680f4b549e7ce40fe31c8e621011c25087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>&lt;span&gt;</title>
</head>
<body>
  <!-- is structured inline -->
  <p><span class="class" xml:lang="en">text</span></p>

  <!-- is strictly inline -->
  <p><dfn><span class="class" xml:lang="en">text</span></dfn></p>

  <!-- can be empty -->
  <p>text <span></span></p>
  <p>text <dfn><span></span></dfn></p>

  <!-- can contain interactive -->
  <p><span><a>text</a></span></p>
  <p><dfn><span><a>text</a></span></dfn></p>
</body>
</html>