forked from jgthms/html-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
239 lines (222 loc) · 7.55 KB
/
index.html
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
---
layout: single
elementName: ol
---
<section id="ol" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Type: <strong>block</strong>
</span>
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/ol/" data-element-name="ol" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="ol">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/ol" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#ol">
<span>#</span>
ol
</a>
</h2>
<div class="element-description">
<p>Defines an <strong>ordered list</strong>.</p>
</div>
</header>
<div id="ol-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#ol-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div class="example-output"><ol>
<li>Step one</li>
<li>Step two</li>
<li>????</li>
<li>PROFIT!!!</li>
</ol></div>
<div id="ol-example-0-code" class="example-code">{% highlight html %}<ol>
<li>Step one</li>
<li>Step two</li>
<li>????</li>
<li>PROFIT!!!</li>
</ol>{% endhighlight %}</div>
</article>
</div>
<article id="ol-type" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="type">
type
</code>
</h3>
<div class="attribute-description">
<p>Defines how the list is numbered.</p>
</div>
</header>
<div class="attribute-values">
<article id="ol-type-1" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="1"" data-clipboard-text="type="1"">
"1"
</code>
</h4>
<div class="value-description">
<strong class="value-is-default">Default.</strong>
<p>Uses numbers.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol type="1"><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
<article id="ol-type-a" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="a"" data-clipboard-text="type="a"">
"a"
</code>
</h4>
<div class="value-description">
<p>Uses lowercase letters.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol type="a"><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
<article id="ol-type-a" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="A"" data-clipboard-text="type="A"">
"A"
</code>
</h4>
<div class="value-description">
<p>Uses uppercase letters.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol type="A"><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
<article id="ol-type-i" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="i"" data-clipboard-text="type="i"">
"i"
</code>
</h4>
<div class="value-description">
<p>Uses lowercase Roman numerals.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol type="i"><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
<article id="ol-type-i" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="I"" data-clipboard-text="type="I"">
"I"
</code>
</h4>
<div class="value-description">
<p>Uses uppercase Roman numerals.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol type="I"><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
</div>
</article>
<article id="ol-start" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="start">
start
</code>
</h3>
<div class="attribute-description">
<p>Defines a number to start the list with.</p>
</div>
</header>
<div class="attribute-values">
<article id="ol-start-3" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy start="3"" data-clipboard-text="start="3"">
"3"
</code>
</h4>
<div class="value-description">
<p>You can use any <strong>integer</strong>.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol start="3"><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
</div>
</article>
<article id="ol-reversed" class="attribute attribute--novalue">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="reversed">
reversed
</code>
</h3>
<div class="attribute-description">
<p>Reverses the order of the list.</p>
<strong class="attribute-is-novalue">No value required.</strong>
</div>
</header>
<div class="attribute-values">
<article id="ol-reversed-undefined" class="value">
<header class="value-header">
<div class="value-description">
</div>
</header>
<aside class="value-preview">
<div class="value-output"><ol reversed><li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>Five</li></ol></div>
</aside>
</article>
</div>
</article>
</section>