forked from jgthms/html-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (70 loc) · 2.3 KB
/
Copy pathindex.html
File metadata and controls
74 lines (70 loc) · 2.3 KB
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
---
layout: single
elementName: li
---
<section id="li" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/li/" data-element-name="li" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="li">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/li" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#li">
<span>#</span>
li
</a>
</h2>
<div class="element-description">
<p>Defines a <strong>list item</strong> within an ordered list <code><ol></code> or unordered list <code><ul></code>.</p>
</div>
</header>
<div id="li-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#li-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="li-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>
<div id="li-example-1" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#li-example-1-code">Copy</a>
</p>
<article class="example-preview">
<div class="example-output"><p>My shopping list:</p>
<ul>
<li>Milk</li>
<li>Bread</li>
<li>Chocolate</li>
<li>More chocolate</li>
</ul></div>
<div id="li-example-1-code" class="example-code">{% highlight html %}<p>My shopping list:</p>
<ul>
<li>Milk</li>
<li>Bread</li>
<li>Chocolate</li>
<li>More chocolate</li>
</ul>{% endhighlight %}</div>
</article>
</div>
</section>