iframe básico (html)

Iframe:
<iframe leftmargin=5 topmargin=5 marginWidth=0 marginHeight=0 src="pagina_que_vai_abrir.htm" frameBorder=1 width=100% height=100% scrolling=yes name="nome_da_frame"></iframe>
Link para Iframe:
<a href="http://www.pauloadriano.com" target="nome_da_frame">link para abrir na iframe</a>

Optional Attributes


DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.











































































Attribute Value Description DTD
align left
right
top
middle
bottom
Deprecated. Use styles instead.
Specifies the alignment of an iframe according to surrounding elements
TF
frameborder 1
0
Specifies whether or not to display a border around an
iframe
TF
height pixels
%
Specifies the height of an iframe TF
longdesc URL Specifies a page that contains a long description of the
content of an iframe
TF
marginheight pixels Specifies the top and bottom margins of an iframe TF
marginwidth pixels Specifies the left and right margins of an iframe TF
name name Specifies the name of an iframe TF
scrolling yes
no
auto
Specifies whether or not to display scrollbars in an iframe TF
src URL Specifies the URL of the document to show in an iframe TF
width pixels
%
Specifies the width of an iframe TF

Nenhum comentário: