Html-embed-tag
提供:Dev Guides
HTML-<embed>タグ
説明
HTML <embed>タグは、外部アプリケーションまたはインタラクティブコンテンツのコンテナを表します。
例
<!DOCTYPE html>
<html>
<head>
<title>HTML Embed Tag</title>
</head>
<body>
<embed src = "/html/yourfile.mid" width = "250" height = "100"/>
</body>
</html>
これは、次の結果を生成します-
グローバル属性
このタグは、リンク:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします
特定の属性
HTML <video>タグは、次の追加属性もサポートしています-
Attribute | Value | Description |
---|---|---|
height html-5 | pixels | Specifies the height. |
src html-5 | URL | Specifies the address of the source file. |
type html-5 | MIME_type | Specifies the MIME type. |
width html-5 | pixels | Specifies the width. |
イベント属性
このタグは、link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートしています。
ブラウザのサポート
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |