This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

border

Summary

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

Applies to ?
## Examples
<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

See also

Related pages

Attributions