HTML atributo iframe frameborder
Ejemplos
Sin fronteras <iframe>:
<iframe src="http://www.w3cschool.cc/" width="200"
height="200" frameborder="0">
</iframe>
</iframe>
Trate »
Soporte para el navegador
Todos los principales navegadores soportan el atributo frameborder.
Definición y Uso
HTML5 no es compatible con el <iframe> atributo frameborder. Usar CSS en su lugar.
atributo frameborder especifica si un borde <iframe> alrededor.
Consejo: Por razones prácticas, es mejor no establecer esta propiedad es, utilizar CSS para aplicar frontera .
gramática
<iframe frameborder="1|0">
propiedad Valor
值 | 描述 |
---|---|
1 | 默认。开启边框。 |
0 | 关闭边框。 |
etiqueta HTML <iframe>