<iframe src=""></iframe>
iframe要素に src="" を追加すると、インラインフレーム内に別の文書を読み込むことができます。
<iframe src="example.html"> 〜 </iframe>
属性 | 値 | 説明 |
---|---|---|
src="" | URI | フレーム内に表示する文書のURIを指定 |
使用例
<p><iframe src="iexample_a.html">代替内容</iframe></p>
表示例
- サイト内検索