HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
39687576Say what the infinite attributes on <embed> are for.2009-09-22 11:19
@@ -21757,21 +21757,22 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
   <p class="note">This allows servers to return data for plugins even
   with error responses (e.g. HTTP 500 Internal Server Error codes can
   still contain plugin data).</p>
   <p>Any (namespace-less) attribute may be specified on the
   <code>embed</code> element, so long as its name is
   <span>XML-compatible</span> and contains no characters in the range
-  Z).</p>
+  Z). These attributes are then passed as parameters to the
+  <span>plugin</span>.</p>
   <p class="note">All attributes in <span>HTML documents</span> get
   lowercased automatically, so the restriction on uppercase letters
   doesn't affect such documents.</p>
   <div class="impl">
   <p>The user agent should pass the names and values of all the
   attributes of the <code>embed</code> element that have no namespace
   to the <span>plugin</span> used, when it is instantiated.</p>
@@ -21800,20 +21801,32 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
    <p>Here's a way to embed a resource that requires a proprietary
    plug-in, like Flash:</p>
    <pre>&lt;embed src="catgame.swf"></pre>
    <p>If the user does not have the plug-in (for example if the
    plug-in vendor doesn't support the user's platform), then the user
    will be unable to use the resource.</p>
+   <p>To pass the plugin a parameter "quality" with the value "high",
+   an attribute can be specified:</p>
+   <pre>&lt;embed src="catgame.swf" quality="high"></pre>
+   <p>This would be equivalent to the following, when using an
+   <code>object</code> element instead:</p>
+   <pre>&lt;object data="catgame.swf">
+ &lt;param name="quality" value="high">
   <h4>The <dfn><code>object</code></dfn> element</h4>
   <dl class="element">
    <dd><span>Flow content</span>.</dd>