What is an iframe in HTML?

 Posted by Pgayath on 9/18/2012 | Category: HTML 5 Interview questions | Views: 2922 | Points: 40
Answer:

An iframe is used to display a web page within a web page.

<iframe src="http://www.dotnetfunda.com">
<p>Your browser does not support iframes.</p>
</iframe>

Some old browsers do not support iframe. In that case, text between the opening <iframe> and closing </iframe> tag will be displayed.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Pgayath