+ 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 Antworten
+ 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