ad

Wednesday, October 22, 2025

inline frame in html

inline frame in html

https://webdesigningtheory.blogspot.com

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.

Step 2 ]

   <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

Step 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 

inline frame in html

Related Post :-

html link tag

how to set image height in html using the tag


No comments:

Post a Comment