Debian Codegraph @

test/functional/expected/misc_rst_html4css1.html

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.22.4: https://docutils.sourceforge.io/" />
7 <title>Additional tests with html4css1</title>
8 <link rel="stylesheet" href="foo&amp;bar.css" type="text/css" />
9 <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" />
10 <link rel="stylesheet" href="../input/data/math.css" type="text/css" />
11 </head>
12 <body>
13 <div class="document" id="additional-tests-with-html4css1">
14 <h1 class="title">Additional tests with html4css1</h1>
15
16 <div class="section" id="section-heading-levels">
17 <h1>Section heading levels</h1>
18 </div>
19 <div class="section" id="level-1">
20 <h1>Level 1</h1>
21 <p>Nested sections</p>
22 <div class="section" id="level-2">
23 <h2>Level 2</h2>
24 <p>reach at some level</p>
25 <div class="section" id="level-3">
26 <h3>Level 3</h3>
27 <p>(depending on the document class and output format)</p>
28 <div class="section" id="level-4">
29 <h4>level 4</h4>
30 <p>a level</p>
31 <div class="section" id="level-5">
32 <h5>level 5</h5>
33 <p>that is not supported by the output format.</p>
34 <div class="section" id="level-6">
35 <h6>level 6</h6>
36 <p>Unsupported in LaTeX and HTML5
37 (HTML5 reserves the 1st level for the document title).</p>
38 <div class="section" id="level-7">
39 <h6 class="h7">level 7</h6>
40 <p>Unsupported in HTML4.</p>
41 <div class="section" id="level-8">
42 <h6 class="h8">level 8</h6>
43 <p>Unsupported in ODT.</p>
44 </div>
45 </div>
46 </div>
47 </div>
48 </div>
49 </div>
50 </div>
51 </div>
52 <div class="section" id="section-titles-with-inline-markup">
53 <span id="references"></span><h1>Section titles with inline markup</h1>
54 <div class="section" id="emphasized-h2o-x-2-and-references">
55 <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>
56 </div>
57 <div class="section" id="substitutions-fail">
58 <h2>Substitutions work</h2>
59 <p>Note, that the &quot;reference name&quot; for this section is derived from the
60 content <em>before</em> substitution. You can link to it with the <a class="reference external" href="https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#hyperlink-references">phrase
61 reference</a> &quot;<a class="reference internal" href="#substitutions-fail">substitutions fail</a>&quot;.
62 This behaviour 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
63 normalization</a> of the section's reference name.</p>
64 </div>
65 </div>
66 <div class="section" id="moving-images-video">
67 <h1>Moving images (video)</h1>
68 <p>If the URL given to <cite>images and figures</cite> hints to a video format
69 supported by HTML&nbsp;5 (MIME types 'video/mp4', 'video/webm', or
70 'video/ogg'), the HTML5 writer will place it in a <a class="reference external" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video">video element</a>.</p>
71 <object class="align-left" data="../../../docs/user/rst/images/pens.mp4" type="video/mp4">left-aligned test video</object>
72 <p>A class option value &quot;controls&quot; tells the browser to display controls
73 for video playback.</p>
74 <p>It is a good idea to include width and height attributes. If
75 height and width are not set, the page might flicker while the video
76 loads. According to the <a class="reference external" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video">HTML5 spec</a>, hight and width must be
77 specified as pixel values.</p>
78 <div class="figure align-center">
79 <object class="controls" data="../../../docs/user/rst/images/pens.mp4" style="width: 200px;" type="video/mp4">test video in a figure</object>
80 <p class="caption">Simple test video in a centered figure</p>
81 </div>
82 <p>A video like this <object data="../../../docs/user/rst/images/pens.mp4" style="width: 60px;" type="video/mp4">rotating pens video</object> can be included inline via substitution.</p>
83 </div>
84 </div>
85 </body>
86 </html>