1. Computing

Discuss in my forum

border - HTML Attribute for the IMG and OBJECT Tag

By , About.com Guide

border:

The border attribute sets width of the border around an image or other object.

This attribute has been deprecated in favor of the CSS property border.

Used with Elements:

Content:

A number

This is the number of pixels for the width of border. It must be a positive integer. Numbers like -3 and 0.35 are not valid.

Default:

Not required

Deprecated:

HTML 4.01 / XHTML 1.0: Yes
HTML5: Yes

DTD:

HTML 4.01 Loose
XHTML 1.0 Loose

Other Tags with Border Attributes:

  1. About.com
  2. Computing
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. Border HTML Attribute for the IMG Tag - HTML border Attribute

©2013 About.com. All rights reserved.