Deprecated Attributes

The following attributes have been deprecated in the HTML 4.0 Specification.

Name

Related Elements

Comment

Replacement Tag

align

CAPTION

Horizontal alignment of table caption

style sheet controls

align

APPLET, IFRAME, IMG, INPUT, OBJECT

Vertical or horizontal alignment of element

style sheet controls

align

LEGEND

Aligns legend relative to its fieldset

style sheet controls

align

TABLE

Table position relative to window

style sheet controls

align

HR

Horizontal alignment of rule

style sheet controls

align

DIV, H1, H2, H3, H4, H5, H6, P

Horizontal alignment of these block elements

style sheet controls

alink

BODY

Color of selected links

style sheet controls

alt

APPLET

Short description

<OBJECT>

archive

APPLET

Comma separated archive list

<OBJECT>

background

BODY

Tiling background graphic

style sheet controls

bgcolor

TABLE

Background color for cells

style sheet controls

bgcolor

TR

Background color for row

style sheet controls

bgcolor

TD, TH

Cell background color

style sheet controls

bgcolor

BODY

Document background color

style sheet controls

border

IMG, OBJECT

Link border width around an image

style sheet controls

clear

BR

Control of text flow

style sheet controls

code

APPLET

Applet class file

<OBJECT>

codebase

APPLET

Optional base URI for applet

<OBJECT>

color

BASEFONT, ...

Get Web Design in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.