This article mainly introduces how to use iframe to embed other web pages in the current web page, very detailed, with certain reference value, interested friends must have read!
<IFRAME src=" http://www.php.cn "frameborder = 0 marginwidth = 0 marginheight = 0 scrolling = no style = "width268: px; height: 50px;" width = 168 height = 50 scrolling = no ALLOWTRANSPARENCY = "true">
Note: This is an application example embedded in weather forecast. This effect is most common. Among them:
How to use iframe to embed all the contents of other web pages in the current web page, thank you for reading! I hope to share the content to everyone Help, moreMore related knowledge, welcome to Tumi Yun Industry News Channel!
1, "http://www.php.cn" The address of the embedded web page; 2, width = "168px" Height = "50px" is the width and height of the embedded web page, the larger the value, the larger the range; to hide the content of the embedded, you can set these two values to 0; 3, scrolling = "no" is scrolling settings for embedded web pages, when the content range is large, can be set to allow scrolling to scrolling = "yes". AllowTransparency = "true" to allow transparent settings, change TRUE to NO opaque similarly hereinafter;. 4, frameBorder = 0 border of the embedded web page, 0 indicates no border, 1 represents a border thickness, the larger the value, the same applies hereinafter thick border;. 5, marginwidth = 0 marginheight = 0 is provided embedded in web pages Distance to the margin, 0 means a margin.