border
< html | attributes
border
This page has been flagged with the following issues:
High-level 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
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 13.7.3 (Deprecated)
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)
objectimgLayoutRecttableReferenceborderColorborderColorDarkborderColorLighthspacevspace
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here