File: richtest.html

package info (click to toggle)
grantlee5 5.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,004 kB
  • sloc: cpp: 25,617; javascript: 6,043; python: 299; sh: 97; perl: 37; ruby: 24; makefile: 20
file content (325 lines) | stat: -rw-r--r-- 9,841 bytes parent folder | download | duplicates (23)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<html>
<h1>Easy stuff</h1>
<h2>One format</h2>
<p>A <b>bold</b> part.
</p>
<p>An <i>italic</i> part.
</p>
<p>An <u>underlined</u> part.
</p>
<p>A <s>striked out</s> part.
</p>

<p><span style="color:blue;">the color blue</span>.</p>

<p><span style="background-color:red;">the backbround color red</span>.</p>

<p><span style="font-family:courier;">the courier font</span>.</p>

<p><span style="font-size:xx-large;">Very large text</span>

<h2>Two formats</h2>
<p>A <b><i>bold/italic</i></b> part.
</p>
<p>A <b><u>bold/underlined</u></b> part.
</p>
<p>An <u><s>underlined/striked</s></u> part.
</p>
<p>A <s><b>Bold/striked out</b></s> part.
</p>

<h2>Two formats at edges</h2>
<p><b><i>A bold/italic</i></b> part.
</p>
<p>A bold/underlined <b><u>part.</u></b>
</p>

<h2>Format boundaries</h2>
<p>An adjacent <b>bold</b><u>underlined</u> part.
</p>
<p>An overlapping <b>bold <u>and </u></b><u>underlined</u> part.
</p>
<p>Bold inside <u>un<b>derl</b>ined</u> part.
</p>

<h2>Lists</h2>
<h3>Unordered lists</h3>
Disc:
<ul>
<li>this</li>
<li>that</li>
<li>these</li>
<li>those</li>
</ul>

Circle:
<ul style="list-style-type: circle;">
<li>this</li>
<li>that</li>
<li>these</li>
<li>those</li>
</ul>

Square:
<ul style="list-style-type: square;">
<li>this</li>
<li>that</li>
<li>these</li>
<li>those</li>
</ul>

<h3>Ordered lists</h3>

Decimal:
<ol style="list-style-type: decimal;">
<li>this</li>
<li>that</li>
<li>these</li>
<li>those</li>
</ol>

Alpha lowercase:
<ol style="list-style-type: lower-alpha;">
<li>this</li>
<li>that</li>
<li>these</li>
<li>those</li>
</ol>

Alpha uppercase:
<ol style="list-style-type: upper-alpha;">
<li>this</li>
<li>that</li>
<li>these</li>
<li>those</li>
</ol>

<h3>Nested lists</h3>

<ol>
<li>this</li>
<li>
    <ul>
    <li>Fizz</li>
    <li>Bang</li>
    <li>Crash</li>
    <li>Wallop</li>
    </ul>
</li>
<li>these</li>
    <ul>
    <li>nest</li>
        <ul>
        <li>nested</li>
            <ul>
            <li>dumb</li>
                <ul>
                <li>dumber</li>
                </ul>
            </ul>
        </ul>
    </ul>
<li>those</li>
</ol>

<h3>Images</h3>

A local image:

A remote image:

<h3>Links</h3>
A named link to <a href="http://www.google.com">google</a>.

A raw link to <a href="http://pim.google.com">http://pim.google.com</a>.

An image link to <a href="http://google.com/"><img src="http://www.google.com/logo.png" /></a>.

Another named <a href="http://contact.google.com">link</a>.

Another link to <a href="http://www.google.com">The google homepage</a>.

A formatted <a href="http://office.google.com"><s>link</s></a>.

<h3>Tables</h3>

<h4>Tables with no defined width attributes</h4>
Simple grid:
<table border="1">
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Simple grid with colspan:
<table border="1">
<tr><td colspan="2">one-one and one-two</td><td>one-three</td></tr>
<tr><td>two-one</td><td>two-two</td><td>two-three</td></tr>
</table>

Simple grid with rowspan:
<table border="1">
<tr><td rowspan="2">one-one and two-one</td><td>one-three</td></tr>
<tr><td>two-two</td></tr>
<tr><td>three-one</td><td>three-two</td></tr>
</table>

Simple grid with missing bottom right cell.
<table border="1">
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td></tr>
</table>

Table with header:
<table border="1">
<tr><th>Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with wide content:
<table border="1">
<tr><td>one-one</td><td>one-two</td><td>Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</td><td>Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</td></tr>
<tr><td>two-one</td><td>two-two</td><td>Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</td><td>Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</td></tr>
</table>


Table with formatted contents:
<table border="1">
<tr><td><b>bold</b></td><td>a <a href="http://google.com">link</a>.</td></tr>
<tr><td><span style="font-size:xx-large;">big text</span></td><td><span style="font-family:courier;">another font</span></td></tr>
</table>

Table with nested table:
<table border="1">
<tr><th>Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>
<table border="1">
<tr><th>Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>
</td></tr>
</table>

<h4>Tables with widths defined</h4>
Table with 50 percent width
<table border="1" width="50%">
<tr><th>Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 50 percent width and 70% first column width
<table border="1" width="50%">
<tr><th width="70%">Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 50 percent width and 100px first column width
<table border="1" width="50%">
<tr><th width="100">Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 100px first column width:
<table border="1">
<tr><th width="100">Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 10% first column width (makes second column 9 times wider):
<table border="1">
<tr><th width="10%">Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 10% first column width on the first row and 20% width on the next row:
<table border="1">
<tr><th width="10%">Col1</th><th>Col2</th></tr>
<tr><td width="20%">one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 300px width:
<table border="1" width="300">
<tr><th>Col1</th><th>Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 300px width, first column width 100px, second column width 200px:
<table border="1" width="300">
<tr><th width="100">Col1</th><th width="200">Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

<h4>Tables with non matching fixed widths</h4>

Table with 300px width, first column width 100px, second column width 100px:
<table border="1" width="300">
<tr><th width="100">Col1</th><th width="100">Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 300px width, first column width 75px, second column width 225px:
<table border="1" width="300">
<tr><th width="75">Col1</th><th width="225">Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>

Table with 300px width, first column width 75px, second column width 150px:
<table border="1" width="300">
<tr><th width="75">Col1</th><th width="150">Col2</th></tr>
<tr><td>one-one</td><td>one-two</td></tr>
<tr><td>two-one</td><td>two-two</td></tr>
</table>


<h3>Paragraph formatting</h3>

<h4>Left aligned paragraph. (Reversed in RTL).</h4>
<p align="left">
Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>

<h4>Right aligned paragraph. (Reversed in RTL).</h4>
<p align="right">
Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>

<h4>Center aligned paragraph.</h4>
<p align="center">
Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>

<h4>Justified paragraph.</h4>
<p align="justify">
Lorem Ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>

<p>lorem ipsum</p>
<p style="margin-top:10px;margin-bottom:0px;">
Margin above this paragraph. No margin below.
</p>
<p style="margin-top:0px;margin-bottom:10px;">
Margin below this paragraph. No margin above.
</p>
<p>lorem ipsum</p>

<h3>Other document formatting</h3>

A horizontal line:
<hr />
<p>
A line with<sup>superscript</sup> and<sub>subscript</sub>.
</p>

</html>