summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml
blob: 70683839215fee06cb377e1cff951346da2cbbb7 (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;samp&gt;</title>
</head>
<body>
  <!-- is structured inline -->
  <p><samp class="class" xml:lang="en">text</samp></p>

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

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

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