How to embed other web pages in web pages using iframe_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:38:17
Original
1756 people have browsed it

How to use iframe:

Copy code
The code is as follows:

< DIV align=center>



Description: This is an application example with embedded weather forecast. This effect is most commonly used. Among them:

1. "http://www.jb51.net" is 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 and display the embedded content, you can set these two values ​​​​to 0;
3. scrolling="no" is the scrolling setting for the embedded web page , when the content range is large, it can be set to scrolling="yes" to allow scrolling. ALLOWTRANSPARENCY="true" allows transparent settings, change true to no to make it opaque. The same below;
4. frameBorder=0 is the border setting of the embedded web page, 0 means no border, 1 means border thickness, the larger the value, the thicker the border. The same below;
5. marginwidth=0 marginheight=0 sets the distance from the embedded web page to the margin, 0 means no margin.
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template