+ 1
What is the use of iframe in html can you explain it in simple terms thank you
how to use iframe properly in html
4 Answers
+ 6
An iframe tag is used to display a web page within a web page.
You can create web page like this š which contains another web page
_____________________
| |
| Web page |
| ________ |
| | [iframe] | |
| | | |
| | Web | |
| | Page | |
| |________ | |
| |
| |
|_____________________|
Example code :
<iframe src="https://www.sololearn.com">
</iframe>
This will add sololearn's web page in your web page
š iframe tag creates inline frame
š In simple terms ā”ļø
Iframe is used to embed/add another document/web page within the current HTML document.
+ 4
It is used to embed another site in your site
+ 3
Imagine wanting to put a particular page or detail from another site to your site, say a video or something, thatās what you use an iframe for. š„
+ 3
it is used to add external links with preview in you webpage or to run the links