HTML IframesPosted On: December 27, 2015
You could describe an inline frame with HTML tag <iframe>. The <iframe> tags classify a region within the page in which the browser could display a separate document.
The src attribute is used to identify the URL of the page that engages the inline frame.
Here is the example to explain how to employ the <iframe>:
<p>page content goes at this point…</p>
<iframe src=”/html/webetutorial.htm” width=”444″ height=”200″>
Her you could see your page content in inline frames.
The <Iframe> Attributes
Src:- This attribute is used to provide the file name that ought to be loaded in the frame. Its value could be any URL.
Name:- This attribute permit you to offer a name to a frame. It is used to point to which frame a page should be loaded into.
Frame border: – This attribute identify whether or not the borders of that frame are shown; it overrides the value specified in the frame border attribute on the <frameset> tag.
Margin width: – This attribute permit you to identify the width of the space between the left and right of the frame’s borders and the frame’s content.
Margin height: – This attribute permit you to identify the height of the space between the top and bottom of the frame’s borders and its contents.
Scrolling:- This attribute controls the outer shell of the scroll-bars that show on the frame. This takes values either “yes”, “no” or “auto”.