Oct 24, 2019 in HTML
Q: What is the use of an iframe tag?

1 Answer

0 votes
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>

Related questions

0 votes
Feb 11, 2020 in HTML
0 votes
Jan 29 in HTML
...