Html-bgsound-tag
提供:Dev Guides
HTML-<bgsound>タグ
説明
HTML <bgsound>タグは、バックグラウンドでサウンドトラックを再生するために使用されます。 このタグはInternet Explorer専用です。
例
<!DOCTYPE html>
<html>
<head>
<title>HTML bgsound Tag</title>
</head>
<body>
<bgsound src = "/html/yourfile.mdi"/>
<p>This does create any result on the screen but it plays sound file
in the background.</p>
</body>
</html>
これは、次の結果を生成します-
特定の属性
HTML <bgsound>タグは、次の追加属性もサポートしています-
Attribute | Value | Description |
---|---|---|
loop | number | Lets you replay a background soundtrack a certain number of times. |
src | URL | Specifies the path of the sound file. |
ブラウザのサポート
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
No | No | Yes | No | No | No |