0 votes
in HTML by
What is the use of an iframe tag?

1 Answer

0 votes
by
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
asked Oct 24, 2019 in HTML by SakshiSharma
0 votes
asked Feb 9 in HTML by GeorgeBell
...