This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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