HTML Intro – iFrames

iFrames allow you to embed other web pages into your HTML document. This can be to show off other people’s websites, or simply as a way to reuse code such as for menu bars, or footers.

NOTE: The webpages embedded on your HTML document will completely run and javascript and tracking scripts will be fully functional. This may be a risk to your visitors.


<iframe src="./header.html" frameborder="0"></iframe>

<p><iframe src="" height="300" width="300"></iframe>

<iframe src="" height="300" width="300"></iframe></p>

<iframe src="./footer.html" frameborder="0"></iframe>


<p> You can have a menu bar here, or a header image, etc...</p>


<p>You can put copyright notices or such here and reuse on all of your pages</p>

Be the first to comment

Leave a Reply