What is an iFrame? An iFrame is an HTML tag that is used to embed another document within the current HTML document.p An inline iframe (iFrame) is marked up in HTML like this:
It did not like my width setting of 300 pixels and only displayed 200 pixels wide.
Other Sites
Can other sites use iframes and load your site into their iframe on their web site? Would you want to block them from doing so? First we can run a test using w3schools.com. This web site allows you to test code. The HTML code that makes this test possible is shown below:
Go to w3Schools see it live. Change the code to match the code shown above and click See Result and then click the link on the right side which will read “Mikes Small Business”.