HTML <iframe> src属性
例
最も単純な使用法の<iframe>:
<iframe src="/default.asp"></iframe>
定義と使用法
このsrc
属性は、iframeに埋め込むドキュメントのアドレスを指定します。
ブラウザのサポート
Attribute | |||||
---|---|---|---|---|---|
src | Yes | Yes | Yes | Yes | Yes |
構文
<iframe src="URL">
属性値
Value | Description |
---|---|
URL | Specifies the URL of the document to embed in the iframe. Possible values:
|
❮HTML<iframe>タグ