summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected/misc_rst_html4css1.html
blob: a19c889f4f14269bae72b62454c007dad878100a (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<!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="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.20.1b.dev: https://docutils.sourceforge.io/" />
<title>Additional tests with html4css1</title>
<link rel="stylesheet" href="foo&amp;bar.css" type="text/css" />
<link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" />
<link rel="stylesheet" href="../input/data/math.css" type="text/css" />
</head>
<body>
<div class="document" id="additional-tests-with-html4css1">
<h1 class="title">Additional tests with html4css1</h1>

<div class="section" id="section-heading-levels">
<h1>Section heading levels</h1>
</div>
<div class="section" id="level-1">
<h1>Level 1</h1>
<p>Nested sections</p>
<div class="section" id="level-2">
<h2>Level 2</h2>
<p>reach at some level</p>
<div class="section" id="level-3">
<h3>Level 3</h3>
<p>(depending on the document class and output format)</p>
<div class="section" id="level-4">
<h4>level 4</h4>
<p>a level</p>
<div class="section" id="level-5">
<h5>level 5</h5>
<p>that is not supported by the output format.</p>
<div class="section" id="level-6">
<h6>level 6</h6>
<p>Unsupported in LaTeX and HTML5
(HTML5 reserves the 1st level for the document title).</p>
<div class="section" id="level-7">
<h6 class="h7">level 7</h6>
<p>Unsupported in HTML4.</p>
<div class="section" id="level-8">
<h6 class="h8">level 8</h6>
<p>Unsupported in ODT.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section" id="section-titles-with-inline-markup">
<span id="references"></span><h1>Section titles with inline markup</h1>
<div class="section" id="emphasized-h2o-x-2-and-references">
<h2><em>emphasized</em>, H<sub>2</sub>O, <span class="formula"><i>x</i><sup>2</sup></span>, and <a class="reference internal" href="#references">references</a></h2>
</div>
<div class="section" id="substitutions-fail">
<h2>Substitutions work</h2>
<p>Note, that the &quot;reference name&quot; for this section is derived from the
content <em>before</em> substitution. This may be exploited to get intelligible
IDs after <a class="reference external" href="https://docutils.sourceforge.io/docs/ref/rst/directives.html#identifier-normalization">identifier normalization</a> of the section's reference name.</p>
</div>
</div>
</div>
</body>
</html>