Example 1.
Needless to say.
Width is the width of the inserted page; height is the height of the inserted page; scrolling is whether to display the page scroll bar (optional parameters are auto, yes, no, if this parameter is omitted, the default is auto); frameborder border size ;
Note: It is recommended to use absolute paths for URLs
Legend has it:
Blacked out 88*8. . .
Example 2.
If there is a frame in a page. . Just click on the link on the page and ask to open it in this
Then modify the default opening mode: web page Add to HEAD or set the target frame of the partial connection to (**)
Example 3.
To insert a page. Ask to take only the middle part. Don't want anything else. ,. .
Code:
Control the depth of the inserted page covered by the frame marginwidth=0 marginheight=0; control the depth of the upper part covered by the frame vspace=-170
Whether scrolling scroll bar is required (auto, yes, no) The border size of the frameborder frame, width=776 height=2500 The size of this frame.
1. Add iframe to the page
,
scrolling Indicates whether to display the page scroll bar. The optional parameters are auto, yes, and no. If this parameter is omitted, the default is auto.
2. The hyperlink points to the embedded web page. Just name the iframe. The method is
3. If frameborder is set to 1, the effect will be like a text box
Usage of transparent IFRAME
It must be supported by IE5.5 or above
In the
tag of the transparentBody.htm file, I have added style= "background-color=transparent" Through the following four ways of writing IFRAME, I think you should have a clear understanding of how to achieve the iframe background transparency effect: