@@ -2,13 +2,17 @@ Article containing examples of various inline and block elements that should be
22
33h2. Typography
44
5- h1. h1 Heading 1 h1 Heading 1 h1 Heading 1 h1 Heading 1 h1
5+ h1. h1 Heading 1 h1 Heading 1 h1 Heading 1
66
7- h2. h2 Heading 2 h2 Heading 2 h2 Heading 2 h2 Heading 2 h2 Heading 2
7+ h2. h2 Heading 2 h2 Heading 2 h2 Heading 2 h2 Heading 2
88
9- h3. h3 Heading 3 h3 Heading 3 h3 Heading 3 h3 Heading 3 h3 Heading 3 h3 Heading 3 h3 Heading 3
9+ h3. h3 Heading 3 h3 Heading 3 h3 Heading 3 h3 Heading 3 h3 Heading 3
1010
11- h4. h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4
11+ h4. h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4 h4 Heading 4
12+
13+ h5. h5 Heading 5 h5 Heading 5 h5 Heading 5 h5 Heading 5 h5 Heading 5 h5 Heading 5 h5 Heading 5
14+
15+ h6. h6 Heading 6 h6 Heading 6 h6 Heading 6 h6 Heading 6 h6 Heading 6 h6 Heading 6 h6 Heading 6 h6 Heading 6
1216
1317*Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam sit amet elit vitae arcu interdum ullamcorper.* Nullam ultrices, nisi quis scelerisque convallis, augue neque tempor enim, et mattis justo nibh eu elit.
1418
@@ -49,6 +53,14 @@ The <var>var element</var> example
4953
5054h2. Block text-level semantics
5155
56+ h3. Disclosure (details/summary)
57+
58+ notextile. <details>
59+ <summary>System requirements</summary>
60+ <p>Requires a computer running an operating system. The computer must have some memory and ideally some kind of long-term storage.</p>
61+ <p>An <a href="#">input device</a> as well as some form of <a href="#">output device</a> is recommended.</p>
62+ </details>
63+
5264h3. Pre-formatted text blocks
5365
5466pre. This is an example of a non-code
@@ -57,7 +69,7 @@ pre. This is an example of a non-code
5769
5870h3. Pre-formatted code blocks
5971
60- bc. <section class="alert alert-error fade in " role="alert">
72+ bc. <section class="alert alert-error" role="alert">
6173 <a class="close" data-dismiss="alert">&times;</a>
6274 <h3>Message pane</h3>
6375 <p>Error message goes here.</p>
@@ -90,8 +102,8 @@ h3. Images with links
90102h3. Figures
91103
92104notextile. <figure>
93- <img src="https://placehold.it/480x240/999999/333333" alt="Alt text">
94- <figcaption>Figcaption content</figcaption>
105+ <img src="https://placehold.it/480x240/999999/333333" alt="Alt text">
106+ <figcaption>Figcaption content</figcaption>
95107</figure>
96108
97109h3. Left ranged image
@@ -106,30 +118,13 @@ h3. Centred image
106118
107119Aenean vehicula posuere neque. Nam nibh lectus, laoreet non, convallis sed, vulputate consectetuer, enim. Pellentesque arcu. Vestibulum consequat nisi a ipsum vulputate vehicula. Aliquam lacus diam, ultricies vel, interdum eget, posuere non, tellus. Donec vel ligula. Sed felis. !=https://placehold.it/160/999999/333333(160x160px placeholder)! Quisque ultrices gravida pede. Mauris accumsan vulputate tellus. Phasellus condimentum bibendum dolor. Mauris sed ipsum. Phasellus in diam. Nam sapien ligula, consectetuer id, hendrerit in, cursus sed, leo. Nam tincidunt rhoncus urna. Aliquam id massa ut nibh bibendum imperdiet. Curabitur neque mauris, porta vel, lacinia quis, placerat ultrices, orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In lectus nisl, porttitor eget, fermentum et, viverra a, odio. Sed semper. Praesent vulputate nibh eget nisi. Sed ligula. Aenean vehicula posuere neque. Nam nibh lectus, laoreet non, convallis sed, vulputate consectetuer, enim. Pellentesque arcu. Vestibulum consequat nisi a ipsum vulputate vehicula. Aliquam lacus diam, ultricies vel, interdum eget, posuere non, tellus. Donec vel ligula. Sed felis.
108120
109- h3. SVG
110-
111- notextile. <svg width="100px" height="100px">
112- <circle cx="100" cy="100" r="100" fill="#999999"/>
113- </svg>
114-
115121h3. Videos
116122
117- notextile. <video>
118- <source type="video/mp4" src="https ://clips.vorwaerts-gmbh.de/VfE_html5.mp4">
119- <source type="video/webm" src="https ://clips.vorwaerts-gmbh.de/VfE.webm">
123+ notextile. <video controls >
124+ <source type="video/mp4" src="http ://clips.vorwaerts-gmbh.de/VfE_html5.mp4">
125+ <source type="video/webm" src="http ://clips.vorwaerts-gmbh.de/VfE.webm">
120126</video>
121127
122- h2. Details / summary
123-
124- notextile. <details>
125- <summary>More info</summary>
126- <p>Additional information</p>
127- <ul>
128- <li>Point 1</li>
129- <li>Point 2</li>
130- </ul>
131- </details>
132-
133128h2. Lists
134129
135130# this is an example
@@ -158,41 +153,35 @@ Table with @<caption>@, @<thead>@ and @<tfoot>@ included.
158153|=. This is a table caption
159154|^.
160155|_. Planet |_. Population |_. Government |
161- |~.
162- |\3. This is the tfoot |
163156|-.
164157| Diso | 4.1 B | Democracy |
165158| Lave | 2.5 B | Dictatorship |
166159| Leesti | 5.0 B | Corporate State |
167160| Reorte | 3.1 B | Dictatorship |
168161| Zaonce | 5.3 B | Corporate State |
162+ |~.
163+ |\3. This is the tfoot |
169164
170165h2. Forms
171166
172167notextile. <form action="#" method="post" enctype="multipart/form-data" onsubmit="return false">
173168 <p>
174- <input id="test_checkbox_1" name ="test_checkbox_1" type="checkbox" >
169+ <input type="checkbox" id ="test_checkbox_1" name="test_checkbox_1" checked >
175170 <label for="test_checkbox_1">Test checkbox 1</label>
176-
177-
178- <input id="test_checkbox_2" name="test_checkbox_2" type="checkbox">
171+ <input type="checkbox" id="test_checkbox_2" name="test_checkbox_2">
179172 <label for="test_checkbox_2">Test checkbox 2</label>
180-
181-
182- <input id="test_checkbox_3" name="test_checkbox_3" type="checkbox" >
183- <label for="test_checkbox_3 ">Test checkbox 3 </label>
173+ <input type="checkbox" id="test_checkbox_3" name="test_checkbox_3" disabled>
174+ <label for="test_checkbox_3">Test checkbox 3 (disabled)</label>
175+ <input type="checkbox" id="test_checkbox_4" name="test_checkbox_4" disabled checked >
176+ <label for="test_checkbox_4 ">Test checkbox 4 (disabled checked) </label>
184177 </p>
185178 <p>
186- <input id="test_radio_1" name="test_radio_group" type="radio" >
179+ <input type="radio" id="test_radio_1" name="test_radio_group" checked >
187180 <label for="test_radio_1">Test radio 1</label>
188-
189-
190- <input id="test_radio_2" name="test_radio_group" type="radio">
181+ <input type="radio" id="test_radio_2" name="test_radio_group">
191182 <label for="test_radio_2">Test radio 2</label>
192-
193-
194- <input id="test_radio_3" name="test_radio_group" type="radio">
195- <label for="test_radio_3">Test radio 3</label>
183+ <input type="radio" id="test_radio_3" name="test_radio_group" disabled>
184+ <label for="test_radio_3">Test radio 3 (disabled)</label>
196185 </p>
197186 <p>
198187 <label for="select_dd">Inline form elements</label><br>
@@ -239,8 +228,12 @@ notextile. <form action="#" method="post" enctype="multipart/form-data" onsubmit
239228 <input type="button" value="Hello" disabled>
240229 </p>
241230 <p>
242- <label for="select_multi">Select multiple</label>
243- <br>
231+ <label for="file_upload">File upload</label><br>
232+ <input type="file" id="file_upload" name="file_upload" accept="image/*" multiple>
233+ <input type="button" value="Upload">
234+ </p>
235+ <p>
236+ <label for="select_multi">Select multiple</label><br>
244237 <select id="select_multi" name="select_multi" multiple="multiple" size="10">
245238 <optgroup label="Group 1">
246239 <option value="1">Some text goes here</option>
@@ -260,81 +253,75 @@ notextile. <form action="#" method="post" enctype="multipart/form-data" onsubmit
260253 </select>
261254 </p>
262255 <p>
263- <label for="textarea">Textarea</label>
264- <br>
256+ <label for="textarea">Textarea</label><br>
265257 <textarea id="textarea" name="textarea" rows="5" placeholder="This is an example of HTML5 placeholder text."></textarea>
266258 </p>
267259 <p>
268- <label for="url">URL</label>
269- <br>
270- <input id="url" name="url" type="url">
260+ <label for="color">Colour</label><br>
261+ <input type="color" id="color" name="color" value="#cc0000">
271262 </p>
272263 <p>
273- <label for="email">Email</label>
274- <br>
275- <input id="email" name="email" type="email" placeholder="name@example.com">
264+ <label for="date">Date</label><br>
265+ <input id="date" name="date" type="date">
276266 </p>
277267 <p>
278- <label for="text">Text</label>
279- <br>
280- <input id="text" name="text" type="text">
268+ <label for="datetime-local">Datetime local</label><br>
269+ <input id="datetime-local" name="datetime-local" type="datetime-local">
281270 </p>
282271 <p>
283- <label for="text-data">Text with data list</label>
284- <br>
285- <input id="text-data" name="text-data" type="text" list="text-data-list">
286- <datalist id="text-data-list">
287- <option value="Afghanistan">
288- <option value="Albania">
289- <option value="Algeria">
290- <option value="Andorra">
291- <option value="Angola">
292- </datalist>
272+ <label for="email">Email</label><br>
273+ <input id="email" name="email" type="email" placeholder="name@example.com">
293274 </p>
294275 <p>
295- <label for="datetime-local">Datetime local</label>
296- <br>
297- <input id="datetime-local" name="datetime-local" type="datetime-local">
276+ <label for="month">Month</label><br>
277+ <input id="month" name="month" type="month">
298278 </p>
299279 <p>
300- <label for="number">Number</label>
301- <br>
280+ <label for="number">Number</label><br>
302281 <input id="number" name="number" type="number" min="0" max="999" step="1">
303282 </p>
304283 <p>
305- <label for="tel">Tel (phone)</label>
306- <br>
307- <input id="tel" name="tel" type="tel">
284+ <label for="password">Password</label><br>
285+ <input id="password" name="password" type="password">
308286 </p>
309287 <p>
310- <label for="datetime">Datetime</label>
311- <br>
312- <input id="datetime" name="datetime" type="datetime">
288+ <label for="range">Range</label><br>
289+ <input id="range" name="range" type="range">
313290 </p>
314291 <p>
315- <label for="date">Date</label>
316- <br>
317- <input id="date" name="date" type="date">
292+ <label for="search">Search</label><br>
293+ <input id="search" name="search" type="search">
318294 </p>
319295 <p>
320- <label for="month">Month</label>
321- <br>
322- <input id="month" name="month" type="month">
296+ <label for="tel">Tel (phone)</label><br>
297+ <input id="tel" name="tel" type="tel">
323298 </p>
324299 <p>
325- <label for="search">Search</label>
326- <br>
327- <input id="search" name="search" type="search">
300+ <label for="text">Text <abbr class="required" title="Required">*</abbr></label><br>
301+ <input id="text" name="text" type="text">
328302 </p>
329303 <p>
330- <label for="range">Range</label>
331- <br>
332- <input id="range" name="range" type="range">
304+ <label for="text-data">Text with data list</label><br>
305+ <input id="text-data" name="text-data" type="text" list="text-data-list">
306+ <datalist id="text-data-list">
307+ <option value="Afghanistan">
308+ <option value="Albania">
309+ <option value="Algeria">
310+ <option value="Andorra">
311+ <option value="Angola">
312+ </datalist>
313+ </p>
314+ <p>
315+ <label for="time">Time</label><br>
316+ <input id="time" name="time" type="time">
317+ </p>
318+ <p>
319+ <label for="url">URL</label><br>
320+ <input id="url" name="url" type="url">
333321 </p>
334322 <p>
335- <label for="color">Colour</label>
336- <br>
337- <input id="color" name="color" type="color" value="#cc0000">
323+ <label for="url">Week</label><br>
324+ <input id="week" name="week" type="week">
338325 </p>
339326 <p>
340327 <input type="submit" value="Input - Submit">
0 commit comments