Html-param-tag
提供:Dev Guides
HTML-<param>タグ
説明
HTML <param>タグは、<object>タグを使用してパラメータを埋め込みオブジェクトに渡すために使用されます。
例
<param>タグを使用して、ドキュメントに関連するいくつかのパラメーターを指定できます。 これはwavファイルを埋め込むための例です-
<!DOCTYPE html>
<html>
<head>
<title>HTML param Tag</title>
</head>
<body>
<object title = "Test Object." classid = "java.class">
<param name = "audio" value = "music.wav"/>
<param name = "width" value = "600"/>
<param name = "height" value = "400"/>
</object>
</body>
</html>
グローバル属性
このタグは、− link:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします
特定の属性
HTML <param>タグは、次の追加属性もサポートしています-
Attribute | Value | Description |
---|---|---|
name | parameter type | Defines a unique name for the parameter. |
type | MIME type | Specifies the internet media type for the parameter. |
value | value | Specifies the value of the parameter. |
valuetype | data ref object | Specifies the MIME type of the value. |
イベント属性
このタグは、− link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートします。
ブラウザのサポート
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |