Learn Simpli

Free Online Tutorial For Programmers, Contains a Solution For Question in Programming. Quizzes and Practice / Company / Test interview Questions.

HTML Iframes: An iframe is used to display a web page within a web page.

<iframe src="http://www.nswebsters.com/"></iframe>

Iframe – Set Height and Width: Use the height and width attributes to specify the size of the frame.

The height and width are specified in pixels by default

<iframe src="http://www.nswebsters.com/" height="200" width="300"></iframe>

Iframe – Remove the Border: By default, an iframe has a border around it.

To remove the border, add the style attribute and use the CSS border property

<iframe src="http://www.nswebsters.com/" style="border:none;"></iframe>

 

One thought on “HTML IFRAMES

Comments are closed.