Annotation of html5/spec/the-param-element.html, revision 1.200
1.88 mike 1: <!DOCTYPE html>
1.198 sruby 2: <html lang="en-US-x-Hixie"><head><meta charset="utf-8"><title>4.8.5 The param element — HTML5</title><style type="text/css">
3:
4: .applies thead th > * { display: block; }
5: .applies thead code { display: block; }
6: .applies tbody th { white-space: nowrap; }
7: .applies td { text-align: center; }
8: .applies .yes { background: yellow; }
9:
10: .matrix, .matrix td { border: hidden; text-align: right; }
11: .matrix { margin-left: 2em; }
12:
13: .dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; }
14: .dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; }
15: .dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; }
16:
17: td.eg { border-width: thin; text-align: center; }
18:
19: #table-example-1 { border: solid thin; border-collapse: collapse; margin-left: 3em; }
20: #table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; }
21: #table-example-1 caption { padding-bottom: 0.5em; }
22: #table-example-1 thead, #table-example-1 tbody { border: none; }
23: #table-example-1 th, #table-example-1 td { border: solid thin; }
24: #table-example-1 th { font-weight: normal; }
25: #table-example-1 td { border-style: none solid; vertical-align: top; }
26: #table-example-1 th { padding: 0.5em; vertical-align: middle; text-align: center; }
27: #table-example-1 tbody tr:first-child td { padding-top: 0.5em; }
28: #table-example-1 tbody tr:last-child td { padding-bottom: 1.5em; }
29: #table-example-1 tbody td:first-child { padding-left: 2.5em; padding-right: 0; width: 9em; }
30: #table-example-1 tbody td:first-child::after { content: leader(". "); }
31: #table-example-1 tbody td { padding-left: 2em; padding-right: 2em; }
32: #table-example-1 tbody td:first-child + td { width: 10em; }
33: #table-example-1 tbody td:first-child + td ~ td { width: 2.5em; }
34: #table-example-1 tbody td:first-child + td + td + td ~ td { width: 1.25em; }
35:
36: .apple-table-examples { border: none; border-collapse: separate; border-spacing: 1.5em 0em; width: 40em; margin-left: 3em; }
37: .apple-table-examples * { font-family: "Times", serif; }
38: .apple-table-examples td, .apple-table-examples th { border: none; white-space: nowrap; padding-top: 0; padding-bottom: 0; }
39: .apple-table-examples tbody th:first-child { border-left: none; width: 100%; }
40: .apple-table-examples thead th:first-child ~ th { font-size: smaller; font-weight: bolder; border-bottom: solid 2px; text-align: center; }
41: .apple-table-examples tbody th::after, .apple-table-examples tfoot th::after { content: leader(". ") }
42: .apple-table-examples tbody th, .apple-table-examples tfoot th { font: inherit; text-align: left; }
43: .apple-table-examples td { text-align: right; vertical-align: top; }
44: .apple-table-examples.e1 tbody tr:last-child td { border-bottom: solid 1px; }
45: .apple-table-examples.e1 tbody + tbody tr:last-child td { border-bottom: double 3px; }
46: .apple-table-examples.e2 th[scope=row] { padding-left: 1em; }
47: .apple-table-examples sup { line-height: 0; }
48:
49: .details-example img { vertical-align: top; }
50:
51: #base64-table {
52: white-space: nowrap;
53: font-size: 0.6em;
54: column-width: 6em;
55: column-count: 5;
56: column-gap: 1em;
57: -moz-column-width: 6em;
58: -moz-column-count: 5;
59: -moz-column-gap: 1em;
60: -webkit-column-width: 6em;
61: -webkit-column-count: 5;
62: -webkit-column-gap: 1em;
63: }
64: #base64-table thead { display: none; }
65: #base64-table * { border: none; }
66: #base64-table tbody td:first-child:after { content: ':'; }
67: #base64-table tbody td:last-child { text-align: right; }
68:
69: #named-character-references-table {
70: white-space: nowrap;
71: font-size: 0.6em;
72: column-width: 30em;
73: column-gap: 1em;
74: -moz-column-width: 30em;
75: -moz-column-gap: 1em;
76: -webkit-column-width: 30em;
77: -webkit-column-gap: 1em;
78: }
79: #named-character-references-table > table > tbody > tr > td:first-child + td,
80: #named-character-references-table > table > tbody > tr > td:last-child { text-align: center; }
81: #named-character-references-table > table > tbody > tr > td:last-child:hover > span { position: absolute; top: auto; left: auto; margin-left: 0.5em; line-height: 1.2; font-size: 5em; border: outset; padding: 0.25em 0.5em; background: white; width: 1.25em; height: auto; text-align: center; }
82: #named-character-references-table > table > tbody > tr#entity-CounterClockwiseContourIntegral > td:first-child { font-size: 0.5em; }
83:
84: .glyph.control { color: red; }
85:
86: @font-face {
87: font-family: 'Essays1743';
88: src: url('../fonts/Essays1743.ttf');
89: }
90: @font-face {
91: font-family: 'Essays1743';
92: font-weight: bold;
93: src: url('../fonts/Essays1743-Bold.ttf');
94: }
95: @font-face {
96: font-family: 'Essays1743';
97: font-style: italic;
98: src: url('../fonts/Essays1743-Italic.ttf');
99: }
100: @font-face {
101: font-family: 'Essays1743';
102: font-style: italic;
103: font-weight: bold;
104: src: url('../fonts/Essays1743-BoldItalic.ttf');
105: }
106:
107: </style><link href="data:text/css," id="complete" rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D%0Ahtml%20%7B%20border:%20solid%20yellow;%20%7D%20.domintro:before%20%7B%20display:%20none;%20%7D" id="author" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D%20.domintro:before%20%7B%20background:%20%23FFEEEE;%20%7D" id="highlight" rel="alternate stylesheet" title="Highlight implementation requirements"><style type="text/css">
1.1 mike 108: pre { margin-left: 2em; white-space: pre-wrap; }
109: h2 { margin: 3em 0 1em 0; }
110: h3 { margin: 2.5em 0 1em 0; }
111: h4 { margin: 2.5em 0 0.75em 0; }
112: h5, h6 { margin: 2.5em 0 1em; }
113: h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; }
114: h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
115: p { margin: 1em 0; }
116: hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
117: dl, dd { margin-top: 0; margin-bottom: 0; }
118: dt { margin-top: 0.75em; margin-bottom: 0.25em; clear: left; }
119: dt + dt { margin-top: 0; }
120: dd dt { margin-top: 0.25em; margin-bottom: 0; }
121: dd p { margin-top: 0; }
122: dd dl + p { margin-top: 1em; }
123: dd table + p { margin-top: 1em; }
124: p + * > li, dd li { margin: 1em 0; }
125: dt, dfn { font-weight: bold; font-style: normal; }
126: i, em { font-style: italic; }
127: dt dfn { font-style: italic; }
128: pre, code { font-size: inherit; font-family: monospace; font-variant: normal; }
129: pre strong { color: black; font: inherit; font-weight: bold; background: yellow; }
130: pre em { font-weight: bolder; font-style: normal; }
131: @media screen { code { color: orangered; } code :link, code :visited { color: inherit; } }
132: var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; }
133: table { border-collapse: collapse; border-style: hidden hidden none hidden; }
134: table thead, table tbody { border-bottom: solid; }
135: table tbody th:first-child { border-left: solid; }
136: table tbody th { text-align: left; }
137: table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; }
138: blockquote { margin: 0 0 0 2em; border: 0; padding: 0; font-style: italic; }
139:
140: .bad, .bad *:not(.XXX) { color: gray; border-color: gray; background: transparent; }
141: .matrix, .matrix td { border: none; text-align: right; }
142: .matrix { margin-left: 2em; }
143: .dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; }
144: .dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; }
145: .dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; }
146:
147: .toc dfn, h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { font: inherit; }
148: img.extra, p.overview { float: right; }
149: pre.idl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em 1em; position: relative; }
150: pre.idl :link, pre.idl :visited { color: inherit; background: transparent; }
151: pre.idl::before { content: "IDL"; font: bold small sans-serif; padding: 0.5em; background: white; position: absolute; top: 0; margin: -1px 0 0 -4em; width: 1.5em; border: thin solid; border-radius: 0 0 0 0.5em }
152: pre.css { border: solid thin; background: #FFFFEE; color: black; padding: 0.5em 1em; }
153: pre.css:first-line { color: #AAAA50; }
154: dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #DDFFDD; }
155: hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
156: dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; }
157: dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
158: dl.domintro dd p { margin: 0.5em 0; }
159: dl.domintro:before { display: table; margin: -1em -0.5em -0.5em auto; width: auto; content: 'This box is non-normative. Implementation requirements are given below this box.'; color: black; font-style: italic; border: solid 2px; background: white; padding: 0 0.25em; }
160: dl.switch { padding-left: 2em; }
161: dl.switch > dt { text-indent: -1.5em; }
162: dl.switch > dt:before { content: '\21AA'; padding: 0 0.5em 0 0; display: inline-block; width: 1em; text-align: right; line-height: 0.5em; }
163: dl.triple { padding: 0 0 0 1em; }
164: dl.triple dt, dl.triple dd { margin: 0; display: inline }
165: dl.triple dt:after { content: ':'; }
166: dl.triple dd:after { content: '\A'; white-space: pre; }
167: .diff-old { text-decoration: line-through; color: silver; background: transparent; }
168: .diff-chg, .diff-new { text-decoration: underline; color: green; background: transparent; }
169: a .diff-new { border-bottom: 1px blue solid; }
170:
1.180 sruby 171: figure.diagrams { border: double black; background: white; padding: 1em; }
172: figure.diagrams img { display: block; margin: 1em auto; }
173:
1.1 mike 174: h2 { page-break-before: always; }
175: h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
176: h1 + h2, hr + h2.no-toc { page-break-before: auto; }
177:
178: p > span:not([title=""]):not([class="XXX"]):not([class="impl"]):not([class="note"]),
1.198 sruby 179: li > span:not([title=""]):not([class="XXX"]):not([class="impl"]):not([class="note"]) { border-bottom: solid #9999CC; }
1.1 mike 180:
181: div.head { margin: 0 0 1em; padding: 1em 0 0 0; }
182: div.head p { margin: 0; }
183: div.head h1 { margin: 0; }
184: div.head .logo { float: right; margin: 0 1em; }
185: div.head .logo img { border: none } /* remove border from top image */
186: div.head dl { margin: 1em 0; }
187: div.head p.copyright, div.head p.alt { font-size: x-small; font-style: oblique; margin: 0; }
188:
189: body > .toc > li { margin-top: 1em; margin-bottom: 1em; }
190: body > .toc.brief > li { margin-top: 0.35em; margin-bottom: 0.35em; }
191: body > .toc > li > * { margin-bottom: 0.5em; }
192: body > .toc > li > * > li > * { margin-bottom: 0.25em; }
193: .toc, .toc li { list-style: none; }
194:
195: .brief { margin-top: 1em; margin-bottom: 1em; line-height: 1.1; }
196: .brief li { margin: 0; padding: 0; }
197: .brief li p { margin: 0; padding: 0; }
198:
199: .category-list { margin-top: -0.75em; margin-bottom: 1em; line-height: 1.5; }
200: .category-list::before { content: '\21D2\A0'; font-size: 1.2em; font-weight: 900; }
201: .category-list li { display: inline; }
202: .category-list li:not(:last-child)::after { content: ', '; }
203: .category-list li > span, .category-list li > a { text-transform: lowercase; }
204: .category-list li * { text-transform: none; } /* don't affect <code> nested in <a> */
205:
206: .XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
207: .XXX > :first-child { margin-top: 0; }
208: p .XXX { line-height: 3em; }
209: .annotation { border: solid thin black; background: #0C479D; color: white; position: relative; margin: 8px 0 20px 0; }
210: .annotation:before { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 6px -6px -6px 6px; background: #333333; z-index: -1; content: ''; }
211: .annotation :link, .annotation :visited { color: inherit; }
212: .annotation :link:hover, .annotation :visited:hover { background: transparent; }
213: .annotation span { border: none ! important; }
214: .note { color: green; background: transparent; font-family: sans-serif; }
215: .warning { color: red; background: transparent; }
216: .note, .warning { font-weight: bolder; font-style: italic; }
217: .note em, .warning em, .note i, .warning i { font-style: normal; }
218: p.note, div.note { padding: 0.5em 2em; }
219: span.note { padding: 0 2em; }
220: .note p:first-child, .warning p:first-child { margin-top: 0; }
221: .note p:last-child, .warning p:last-child { margin-bottom: 0; }
222: .warning:before { font-style: normal; }
223: p.note:before { content: 'Note: '; }
224: p.warning:before { content: '\26A0 Warning! '; }
225:
226: .bookkeeping:before { display: block; content: 'Bookkeeping details'; font-weight: bolder; font-style: italic; }
227: .bookkeeping { font-size: 0.8em; margin: 2em 0; }
228: .bookkeeping p { margin: 0.5em 2em; display: list-item; list-style: square; }
229: .bookkeeping dt { margin: 0.5em 2em 0; }
230: .bookkeeping dd { margin: 0 3em 0.5em; }
231:
232: h4 { position: relative; z-index: 3; }
233: h4 + .element, h4 + div + .element { margin-top: -2.5em; padding-top: 2em; }
234: .element {
235: background: #EEEEFF;
236: color: black;
237: margin: 0 0 1em 0.15em;
238: padding: 0 1em 0.25em 0.75em;
239: border-left: solid #9999FF 0.25em;
240: position: relative;
241: z-index: 1;
242: }
243: .element:before {
244: position: absolute;
245: z-index: 2;
246: top: 0;
247: left: -1.15em;
248: height: 2em;
249: width: 0.9em;
250: background: #EEEEFF;
251: content: ' ';
252: border-style: none none solid solid;
253: border-color: #9999FF;
254: border-width: 0.25em;
255: }
256:
257: .example { display: block; color: #222222; background: #FCFCFC; border-left: double; margin-left: 2em; padding-left: 1em; }
258: td > .example:only-child { margin: 0 0 0 0.1em; }
259:
260: ul.domTree, ul.domTree ul { padding: 0 0 0 1em; margin: 0; }
261: ul.domTree li { padding: 0; margin: 0; list-style: none; position: relative; }
262: ul.domTree li li { list-style: none; }
263: ul.domTree li:first-child::before { position: absolute; top: 0; height: 0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; }
264: ul.domTree li:not(:last-child)::after { position: absolute; top: 0; bottom: -0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; }
265: ul.domTree span { font-style: italic; font-family: serif; }
266: ul.domTree .t1 code { color: purple; font-weight: bold; }
267: ul.domTree .t2 { font-style: normal; font-family: monospace; }
268: ul.domTree .t2 .name { color: black; font-weight: bold; }
269: ul.domTree .t2 .value { color: blue; font-weight: normal; }
270: ul.domTree .t3 code, .domTree .t4 code, .domTree .t5 code { color: gray; }
271: ul.domTree .t7 code, .domTree .t8 code { color: green; }
272: ul.domTree .t10 code { color: teal; }
273:
274: body.dfnEnabled dfn { cursor: pointer; }
275: .dfnPanel {
276: display: inline;
277: position: absolute;
278: z-index: 10;
279: height: auto;
280: width: auto;
281: padding: 0.5em 0.75em;
282: font: small sans-serif, Droid Sans Fallback;
283: background: #DDDDDD;
284: color: black;
285: border: outset 0.2em;
286: }
287: .dfnPanel * { margin: 0; padding: 0; font: inherit; text-indent: 0; }
288: .dfnPanel :link, .dfnPanel :visited { color: black; }
289: .dfnPanel p { font-weight: bolder; }
290: .dfnPanel * + p { margin-top: 0.25em; }
291: .dfnPanel li { list-style-position: inside; }
292:
293: #configUI { position: absolute; z-index: 20; top: 10em; right: 1em; width: 11em; font-size: small; }
294: #configUI p { margin: 0.5em 0; padding: 0.3em; background: #EEEEEE; color: black; border: inset thin; }
295: #configUI p label { display: block; }
296: #configUI #updateUI, #configUI .loginUI { text-align: center; }
297: #configUI input[type=button] { display: block; margin: auto; }
298:
299: fieldset { margin: 1em; padding: 0.5em 1em; }
300: fieldset > legend + * { margin-top: 0; }
301: fieldset > :last-child { margin-bottom: 0; }
302: fieldset p { margin: 0.5em 0; }
303:
1.198 sruby 304: </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><script>
1.1 mike 305: function getCookie(name) {
306: var params = location.search.substr(1).split("&");
307: for (var index = 0; index < params.length; index++) {
308: if (params[index] == name)
309: return "1";
310: var data = params[index].split("=");
311: if (data[0] == name)
312: return unescape(data[1]);
313: }
314: var cookies = document.cookie.split("; ");
315: for (var index = 0; index < cookies.length; index++) {
316: var data = cookies[index].split("=");
317: if (data[0] == name)
318: return unescape(data[1]);
319: }
320: return null;
321: }
1.195 sruby 322: </script><link href="the-object-element.html" title="4.8.4 The object element" rel="prev">
323: <link href="spec.html#contents" title="Table of contents" rel="contents">
1.1 mike 324: <link href="the-video-element.html" title="4.8.6 The video element" rel="next">
1.22 mike 325: </head><body onload="fixBrokenLink();" class="split chapter"><div class="head" id="head">
1.1 mike 326: <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
327:
328: <h1>HTML5</h1>
1.195 sruby 329: <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
1.200 ! sruby 330: <h2 class="no-num no-toc" id="editor's-draft-date-1-january-1970">Editor's Draft 14 October 2012</h2>
1.85 mike 331: </div>
1.198 sruby 332:
333:
334: <div class="prev_next">
1.1 mike 335: <a href="the-object-element.html">← 4.8.4 The object element</a> –
1.195 sruby 336: <a href="spec.html#contents">Table of contents</a> –
1.1 mike 337: <a href="the-video-element.html">4.8.6 The video element →</a>
1.195 sruby 338: </div>
1.1 mike 339:
1.85 mike 340: <h4 id="the-param-element"><span class="secno">4.8.5 </span>The <dfn><code>param</code></dfn> element</h4>
341:
342: <dl class="element"><dt><a href="element-definitions.html#element-dfn-categories" title="element-dfn-categories">Categories</a>:</dt>
1.1 mike 343: <dd>None.</dd>
1.25 mike 344: <dt><a href="element-definitions.html#element-dfn-contexts" title="element-dfn-contexts">Contexts in which this element can be used</a>:</dt>
1.159 sruby 345: <dd>As a child of an <code><a href="the-object-element.html#the-object-element">object</a></code> element, before any <a href="content-models.html#flow-content-1">flow content</a>.</dd>
1.25 mike 346: <dt><a href="element-definitions.html#element-dfn-content-model" title="element-dfn-content-model">Content model</a>:</dt>
1.1 mike 347: <dd>Empty.</dd>
1.25 mike 348: <dt><a href="element-definitions.html#element-dfn-attributes" title="element-dfn-attributes">Content attributes</a>:</dt>
1.1 mike 349: <dd><a href="global-attributes.html#global-attributes">Global attributes</a></dd>
350: <dd><code title="attr-param-name"><a href="#attr-param-name">name</a></code></dd>
351: <dd><code title="attr-param-value"><a href="#attr-param-value">value</a></code></dd>
1.159 sruby 352: <dt><a href="element-definitions.html#element-dfn-dom" title="element-dfn-dom">DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
1.1 mike 353: <dd>
354: <pre class="idl">interface <dfn id="htmlparamelement">HTMLParamElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {
355: attribute DOMString <a href="#dom-param-name" title="dom-param-name">name</a>;
356: attribute DOMString <a href="#dom-param-value" title="dom-param-value">value</a>;
357: };</pre>
358: </dd>
1.159 sruby 359: </dl><!--TOPIC:HTML--><p>The <code><a href="#the-param-element">param</a></code> element defines parameters for plugins
1.190 sruby 360: invoked by <code><a href="the-object-element.html#the-object-element">object</a></code> elements. It does not <a href="textFieldSelection.html#represents" title="represents">represent</a> anything on its own.</p>
1.85 mike 361:
362: <p>The <dfn id="attr-param-name" title="attr-param-name"><code>name</code></dfn>
363: attribute gives the name of the parameter.</p>
364:
365: <p>The <dfn id="attr-param-value" title="attr-param-value"><code>value</code></dfn>
366: attribute gives the value of the parameter.</p>
367:
368: <p>Both attributes must be present. They may have any value.</p>
369:
370: <div class="impl">
1.1 mike 371:
372: <p>If both attributes are present, and if the parent element of the
373: <code><a href="#the-param-element">param</a></code> is an <code><a href="the-object-element.html#the-object-element">object</a></code> element, then the
374: element defines a <dfn id="concept-param-parameter" title="concept-param-parameter">parameter</dfn> with the given
375: name-value pair.</p>
376:
377: <p>If either the name or value of a <a href="#concept-param-parameter" title="concept-param-parameter">parameter</a> defined by a
378: <code><a href="#the-param-element">param</a></code> element that is the child of an
1.190 sruby 379: <code><a href="the-object-element.html#the-object-element">object</a></code> element that <a href="textFieldSelection.html#represents">represents</a> an
1.1 mike 380: instantiated <a href="infrastructure.html#plugin">plugin</a> changes, and if that
381: <a href="infrastructure.html#plugin">plugin</a> is communicating with the user agent using an
382: API that features the ability to update the <a href="infrastructure.html#plugin">plugin</a> when
383: the name or value of a <a href="#concept-param-parameter" title="concept-param-parameter">parameter</a> so changes, then
384: the user agent must appropriately exercise that ability to notify
385: the <a href="infrastructure.html#plugin">plugin</a> of the change.</p>
386:
387: <p>The IDL attributes <dfn id="dom-param-name" title="dom-param-name"><code>name</code></dfn> and <dfn id="dom-param-value" title="dom-param-value"><code>value</code></dfn> must both
388: <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content attributes of the same
389: name.</p>
390:
1.85 mike 391: </div>
392:
393: <div class="example">
1.1 mike 394:
395: <p>The following example shows how the <code><a href="#the-param-element">param</a></code> element
396: can be used to pass a parameter to a plugin, in this case the O3D
397: plugin.</p>
398:
399: <pre><!DOCTYPE HTML>
400: <html lang="en">
401: <head>
402: <title>O3D Utah Teapot</title>
403: </head>
404: <body>
405: <p>
406: <object type="application/vnd.o3d.auto">
407: <strong><param name="o3d_features" value="FloatingPointTextures"></strong>
408: <img src="o3d-teapot.png"
409: title="3D Utah Teapot illustration rendered using O3D."
410: alt="When O3D renders the Utah Teapot, it appears as a squat
411: teapot with a shiny metallic finish on which the
412: surroundings are reflected, with a faint shadow caused by
413: the lighting.">
414: <p>To see the teapot actually rendered by O3D on your
415: computer, please download and install the <a
416: href="http://code.google.com/apis/o3d/docs/gettingstarted.html#install">O3D plugin</a>.</p>
417: </object>
418: <script src="o3d-teapot.js"></script>
419: </p>
420: </body>
421: </html></pre>
422:
1.85 mike 423: </div>
424:
425:
1.159 sruby 426: <!--TOPIC:Video and Audio-->
1.85 mike 427: </body></html>
Webmaster