Home > Web Front-end > HTML Tutorial > A guide to using iframe to remove borders and have no borders (compilation of practical experience)_HTML/Xhtml_Web page production

A guide to using iframe to remove borders and have no borders (compilation of practical experience)_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:39:09
Original
1736 people have browsed it



runat="server" This is best to add Iframe jump asp.net can jump in the current iframe
src link to The address URl
frameborder whether to display the border (0 no border 1 with border)
scrolling whether there is a scroll bar (yes with scroll bar, no no scroll bar)
allowtransparency whether the background is transparent (yes transparent, no opaque)
iframe is not very commonly used and is rarely used in standard web pages. It is appropriate to interpret iframe as a "browser within a browser".
SRC=URI The page file path of the built-in cabinet
NAME=CDATA The name of the built-in cabinet
LONGDESC=URI Description
WIDTH=Length Width
HEIGHT=Length Height
ALIGN=[ top | middle | bottom | left | right ] Alignment
FRAMEBORDER=[ 1 | 0 ] Cabinet frame border
MARGINWIDTH=Pixels Left and right width
MARGINHEIGHT=Pixels The height of the upper and lower spaces
SCROLLING=[ yes | no | auto ] flow bar (yes forced display|no never display|auto automatic)
The format of the Iframe tag is:

src: The path of the file, which can be an HTML file, text, ASP, etc.;
width, height: the width and height of the "inner frame" area;
scrolling: When the specified HTML file of SRC is not displayed in the specified area, the scrolling option, if set to NO, the scroll bar will not appear; if it is Auto: the scroll bar will automatically appear; if it is Yes, it will be displayed;
FrameBorder: The width of the area border. In order to blend the "inner frame" with adjacent content, it is often set to 0.
name: The name of the frame, used for identification.

Set the edge width around the frame
frameboder

Set whether the border is 3D ( 0=no, 1=yes)
height,width

Set the width and height of the border
scrolling

Yes With scroll bar (yes, no, auto)
src

Specify the file or image called by iframe (html, htm, gif, jpeg, jpg, png, txt, *. *)

Note:

A floating frame does not need to be declared as part of the frame settings via the element;
WebTV and Netscape 4.x( 4.0 to 4.75) does not support floating frames.
In the HTML 4.01 strict specification, the
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