Various parameters of iframe

php中世界最好的语言
Release: 2018-02-11 11:10:10
Original
5363 people have browsed it

This time I will bring you the parameters of iframe and what are the precautions for the parameters of iframe. The following is a practical case. Let’s take a look.

iframe src=”test.jsp” width=”100″ height=”50″ frameborder=”no” border=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no” allowtransparency=”yes”> 
Copy after login

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 borders)
scrolling Whether there are scroll bars (yes with scroll bars, no no scroll bars)
allowtransparency Whether the background is transparent (yes transparent, no opaque)
iframe is not very commonly used in standard web pages Very rarely used. It is appropriate to interpret iframe as a "browser within a browser".
src: The path of the file, both But HTML files can also be text, ASP, etc.;
width, height: the width and height of the "internal frame" area;
scrolling: when the HTML file specified by SRC is not displayed in the specified area. , scrolling option, if set to NO, the scroll bar will not appear; if it is Auto: the scroll bar will appear automatically; if it is Yes, it will be displayed;
FrameBorder: The width of the area border, in order to make the "inner frame" and adjacent The contents are blended together and are often set to 0.
name: The name of the framework, used for identification.