border

Jump to: navigation, search

border

This page has been flagged with the following issues:


W3C Recommendation

Summary

Specifies the width of the border around an element. Deprecated in HTML4, not supported in HTML5. Use CSS.


Applies to  ?

Examples

HTML

<img src="smiley.gif" alt="Smiley face" border="5">

Notes

Remarks

Setting a border to 0 or omitting the attribute causes no border to be displayed. Supplying the BORDER attribute without a value defaults to a single border. In Microsoft Internet Explorer 6, This property now applies to the object object.

Syntax

Standards information

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]