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

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

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

  <!-- can contain interactive -->
  <p><em><a>text</a></em></p>
  <p><dfn><em><a>text</a></em></dfn></p>

</body>
</html>