web analytics

HTML Iframes

Options

codeling 1595 - 6639
@2017-03-29 16:17:05

HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document. A collection of frames in the browser window is known as a frameset. The window is divided into frames in a similar way the tables are organized: into rows and columns.

An HTML iframe is defined with the <iframe> tag:

<iframe src="URL"></iframe>

The src attribute specifies the URL (web address) of the inline frame page.

@2017-03-29 16:23:07

<iframe id="viewFrame" src='demo.html' style="width:100%;height:100%;border:0;" scrolling="no" />

In the above style attribute, the CSS height and width property is to specify the size of the iframe.

By default, an iframe has a border around it.To remove the border, set the CSS border property to 0.

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com