border
Summary
Specifies the width of the border around an element. Deprecated in HTML4, not supported in HTML5. Use CSS.
Applies to | ? |
---|
<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
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 13.7.3 (Deprecated)
See also
Related pages
object
img
LayoutRect
- tabletable
Reference
- borderColorborderColor
- borderColorDarkborderColorDark
- borderColorLightborderColorLight
- hspacehspace
- vspacevspace
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]