Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the use of an iframe tag?
Home
HTML
What is the use of an iframe tag?
0
votes
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
What is the use of an iframe tag?
iframe-tag
html-iframe
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 24, 2019
by
rajeshsharma
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>
...