Categories

Oct 24, 2019 in HTML

Q: What is the use of an iframe tag?

1 Answer

Oct 24, 2019
An iframe is used to display a web page within a web page.

Syntax:

<iframe src="URL"></iframe>  

Example:

<iframe src="demo_iframe.html" width="200px" height="200px"></iframe>  

Target to a link:

<iframe src="http://www.javatpoint.com" name="iframe_a"></iframe>
Click here to read more about HTML
Click here to read more about Insurance

Related questions

Madanswer
Feb 11 in HTML
Oct 24, 2019 in HTML
Oct 24, 2019 in HTML
...