inline frame in html
inline frame example
<!DOCTYPE html>
<html>
<body>
<h2>Example of HTML Iframes</h2>
<iframe src="https://webdesigningtheory.blogspot.com/"
height="200" width="300" title="Iframe Example"></iframe> </html>
</body>
</html>
inline frame in html
Explain Program
Step 1 ]
<!Doctype html><!doctype html> always be the first line of any HTML document.
<!Doctype html><!doctype html> always be the first line of any HTML document.
Step 2 ]
<html> and </html>
html is the root element.
<html> and </html>
html is the root element.
Step 3 ]
<body> and </body>
body is main content area.
All visible content inside to the <body> tag
<body> and </body>
body is main content area.
All visible content inside to the <body> tagStep 4]
<iframe src="https://webdesigningtheory.blogspot.com/"
height="200" width="300" title="Iframe Example"></iframe> </html>
<iframe>....</iframe>
<iframe> tag inline frame
use embed another HTML page current page showing inside you own page .
src="https://webdesigningtheory.blogspot.com/" :- specifies URL loaded inside iframe
https://webdesigningtheory.blogspot.com/"
height="200" :- height of the iframe 200 pixels
height="200" :- width of iframe 300 pixels
title="Iframe Example" :- provide description of iframe content use
Step 5]
</html>
closing tag </html>
inline frame in html Output
Related Post :-
No comments:
Post a Comment