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>
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is an iframe and how it works?
asked
Sep 6, 2023
in
HTML
by
Robindeniel
iframe
0
votes
Q: Which HTML5 tag would you use to define footer?
asked
Feb 11, 2020
in
HTML
by
rahuljain1
#html-footer
+1
vote
Q: What is the use of details and summary tag in HTML?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
summary-tag
html-summary-tag
0
votes
Q: What is the use of figcaption tag in HTML 5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
figcaption-tag
figcaption-html
0
votes
Q: What is the use of figure tag in HTML 5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
figure-tag
html-tag
0
votes
Q: What is the use of a span tag?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
html-span-tag
span-tag
0
votes
Q: How do you invoke javascript code in an iframe from parent page?
asked
Oct 16, 2023
in
JavaScript
by
GeorgeBell
javascript-interview-questions-answers
0
votes
Q: Which attribute of the video tag specifies an image to be shown while the video is downloading?
asked
Feb 2
in
HTML
by
DavidAnderson
html-interview-questions-answers
0
votes
Q: Do all HTML tags have an end tag?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
html-end-tag
end-tag
html-tag
0
votes
Q: Which of the following is true about 'canvas' tag in HTML5?
asked
Feb 9
in
HTML
by
GeorgeBell
html-interview-questions-answers
...