What is meant by iframe?
An iframe is used to load another page within a page. It's similar to the php include() in that it gets data from another page and puts it on your page. They're used a lot when you don't want to refresh the entire page to change the content. You have to name the iframe and make the links target the iframes name:
<iframe src="home.php" name="roger">your browser does not appear to support frames</iframe>
<a href="new_content.php" target="roger">click</a>
this would open the page "new_content.php" in the iframe named "roger", or if the browser doesn't support frames, the text between the iframes will be shown. You could use this to link to a frameless version of your site.
I wonder how long before Apple try to buy iframes and copyright the name? They'll make correct syntax "iFrame" too...
Other Answers:
It allows the webpage to view another webpage embedded inside the current one.
0 коммент.:
Post a Comment