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
172 lines (156 loc) · 6.21 KB
/
Copy pathindex.html
File metadata and controls
172 lines (156 loc) · 6.21 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
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
---
layout: single
elementName: iframe
---
<section id="iframe" 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/iframe/" data-element-name="iframe" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="iframe">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/iframe" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#iframe">
<span>#</span>
iframe
</a>
</h2>
<div class="element-description">
<p>Defines a container for a nested <strong>browsing context</strong>: you can include a web page <em>within</em> another web page.</p>
</div>
</header>
<div id="iframe-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#iframe-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div class="example-output"><iframe src="http://cssreference.io">
Fallback text for non-supported browsers
</iframe></div>
<div id="iframe-example-0-code" class="example-code">{% highlight html %}<iframe src="http://cssreference.io">
Fallback text for non-supported browsers
</iframe>{% endhighlight %}</div>
</article>
</div>
<article id="iframe-src" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="src">
src
</code>
</h3>
<div class="attribute-description">
<p>Defines the URL of the nested web page.</p>
</div>
</header>
<div class="attribute-values">
<article id="iframe-src-httpcssreferenceio" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy src="http://cssreference.io"" data-clipboard-text="src="http://cssreference.io"">
"http://cssreference.io"
</code>
</h4>
<div class="value-description">
<p>You can type any URL. Be aware that some websites will not allow to be iframed.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><iframe src="http://cssreference.io" height="200"></iframe></div>
</aside>
</article>
</div>
</article>
<article id="iframe-allowfullscreen" class="attribute attribute--novalue">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="allowfullscreen">
allowfullscreen
</code>
</h3>
<div class="attribute-description">
<p>Allows the browser to show the iframe in fullscreen with JavaScript.</p>
<strong class="attribute-is-novalue">No value required.</strong>
</div>
</header>
<div class="attribute-values">
<article id="iframe-allowfullscreen-undefined" class="value">
<header class="value-header">
<div class="value-description">
</div>
</header>
<aside class="value-preview">
<div class="value-output"><iframe src="http://cssreference.io" height="200" allowfullscreen></iframe></div>
</aside>
</article>
</div>
</article>
<article id="iframe-height" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="height">
height
</code>
</h3>
<div class="attribute-description">
<p>Defines the height of the iframe.</p>
</div>
</header>
<div class="attribute-values">
<article id="iframe-height-50" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy height="50"" data-clipboard-text="height="50"">
"50"
</code>
</h4>
<div class="value-description">
<p>The height in pixels.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><iframe src="http://cssreference.io" height="50" allowfullscreen></iframe></div>
</aside>
</article>
</div>
</article>
<article id="iframe-width" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="width">
width
</code>
</h3>
<div class="attribute-description">
<p>Defines the width of the iframe.</p>
</div>
</header>
<div class="attribute-values">
<article id="iframe-width-150" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy width="150"" data-clipboard-text="width="150"">
"150"
</code>
</h4>
<div class="value-description">
<p>The width in pixels.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><iframe src="http://cssreference.io" height="50" allowfullscreen width="150"></iframe></div>
</aside>
</article>
</div>
</article>
</section>