If we're working on CSS page layouts, we're still using elements that are discarded by the web, then we lose the sense of using CSS, although they may also be controlled by styles.
If we're working on CSS page layouts, we're still using elements that are discarded by the web, then we lose the sense of using CSS, although they may also be controlled by styles.
Some discarded elements in HTML are no longer used in XHTML. They are mainly the following.
Elements and attributes that have been deprecated in the most recent version of XHTML, XHTML 1.0.
Elements
The applet element has been deprecated in favor of .
The Basefont element has been deprecated in favor of style sheets.
The blackface element is a WebTV (MSN TV) element This has been deprecated in favor of style sheets.
The blockquote element is deprecated into favor of style sheets when used to indent text.
The center element has been deprecated in favor of style sheets.
The dir element has been deprecated in favor of
.
The EMBED element has been deprecated in favor of .
The font element has been deprecated in favor of style sheets.
The I element has been deprecated in favor of style sheets.
This is a searchable index. Enter search keywords:
The ISINDEX element has been deprecated in favor of the the INPUT element and CGI forms.
The layer element has been deprecated in favor of style sheets.
The menu element has been deprecated in favor of
.
The noembed element has been deprecated in favor of .
The S element has been deprecated in favor of style sheets.
The shadow element has been deprecated in favor of style sheets.
The strike element has been deprecated in favor of style sheets.
The strike element has been deprecated in favor of style sheets.
Attributes
ALink
The ALink attribute defines the color of an active link on the Web page. It has been deprecated in favor of style sheets.
Align
Used to align elements vertically and horizontally on the document page, align attributes has been deprecated in favor of style sheets.
background
The background attribute is used to define a background image for the element. It has been deprecated in favor of style sheets.
Border
Used to define a border around the element, the border attribute, has been deprecated in favor of style sheets.
Color
Used to define the color of the enclosed text, the color attribute has been deprecated in favor of style sheets.
Compact
The compact attribute is used in list tags to create a list this takes up less. It has been deprecated in favor of style sheets.
Face
Used to define the "font face of the" enclosed text, the face attributes has been deprecated in favor of style sheets.
Height
Used to define the "the" of the "the" element, the has been deprecated in favor of style sheets.
language
The language attribute is used to define the language used by the script element. It has been deprecated in favor of the type attribute.
Link
The link attribute defines the color of a link on the Web page. It has been deprecated in favor of style sheets.
name
The name attribute names the element for use and dynamic content, it has been deprecated in favor of the id attribute.
NoShade
The NoShade attribute removes the effect from horizontal rules. It has been deprecated in favor of style sheets.
nowrap
Used to stop table contents from wrapping, which nowrap attribute has been deprecated in favor of style sheets.
size
Used to define the size of the enclosed text, the size attribute has been deprecated in favor of style sheets.
Start
The start attribute of list tags defines the starting number of the list. This attribute is has been deprecated in favor of style sheets.
text
The text attribute defines the color of the text on the Web page. It has been deprecated in favor of style sheets.
type
The type attribute of list tags defines what type of list should be used. This attribute is has been deprecated in favor of style sheets.
value
The value attribute of list tags sets the value of the list item. This attribute is has been deprecated in favor of style sheets.
version
The version attribute defines the version of HTML used by the document. It has been deprecated in favor of DTDs.
Vlink
The Vlink attribute defines the color of a visited link on the Web page. It has been deprecated in favor of style sheets.
width
The width attribute defines the width in pixels of the element. It has been deprecated in