Home HTML Tips How to add an Iframe

How to add an Iframe

E-mail Print PDF
Want to add an iframe to your website?

Copy this piece of code.


Code:

<IFRAME src="/IFRAMEPAGE.html" name="frame" width="200" height="200" frameborder="0"></IFRAME>


Edit the width and height to determine what size your iframe will be. The numbers in the div tag for top and left are to position your iframe on your website. The higher the number for the top position is, the further down it will go. The higher the left number is, the further right it will go. Play around with those until you get it where you want it to be.

Change IFRAMEPAGE.html to the url of your iframe.

To make a link point into your iframe, copy the code below. Change PAGE.html to the page you want to show up in your iframe.


Code:

<a href="/PAGE.html" target="frame">link</a>
 

Domain Names

Sample image .com .info
.mobi .net
.org .tv .us
.biz .ws .name
.am .at .be .cc .cn .de .eu
.fm .jobs .jp .ms .nu .nz
.tc .tw .uk .vg .ASIA .ME

Website Hosting

Sample image We're the affordable, reliable place to host your site. And unlike the competition, there's no set up fee and no annual commitment.

24/7 Support

Sample image Our highly trained, courteous support staff is waiting to help. We'll resolve any issue to your complete satisfaction.