在XHTML中不再使用HTML中的一些废弃元素。它们主要有以下一些。
Elements and attributes that have been deprecated in the most recent version of XHTML, XHTML 1.0.
Elements
<applet></applet>
The applet element has been deprecated in favor of <object></object>.
<basefont />
The basefont element has been deprecated in favor of style sheets.
<blackface></blackface>
The blackface element is a WebTV (MSN TV) element that has been deprecated in favor of style sheets.
<blockquote></blockquote>
The blockquote element is deprecated in favor of style sheets when used to indent text.
<center></center>
The center element has been deprecated in favor of style sheets.
<dir></dir>
The dir element has been deprecated in favor of <ul></ul>.
<embed />
The embed element has been deprecated in favor of <object></object>.
<font></font>
The font element has been deprecated in favor of style sheets.
<i></i>
The i element has been deprecated in favor of style sheets.
<isindex />
The isindex element has been deprecated in favor of the input element and CGI forms.
<layer></layer>
The layer element has been deprecated in favor of style sheets.
<menu></menu>
The menu element has been deprecated in favor of <ul></ul>.
<noembed></noembed>
The noembed element has been deprecated in favor of <object></object>.
<s></s>
The s element has been deprecated in favor of style sheets.
<shadow></shadow>
The shadow element has been deprecated in favor of style sheets.
<strike></strike>
The strike element has been deprecated in favor of style sheets.
<u></u>
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, the align attribute 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 that takes up less space. It has been deprecated in favor of style sheets.
face
Used to define the font face of the enclosed text, the face attribute has been deprecated in favor of style sheets.
height
Used to define the height of the element, the height attribute 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 with dynamic content, it has been deprecated in favor of the id attribute.
noshade
The noshade attribute removes the 3-D effect from horizontal rules. It has been deprecated in favor of style sheets.
nowrap
Used to stop table contents from wrapping, the 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 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 has been deprecated in favor of style sheets.
value
The value attribute of list tags sets the value of the list item. This attribute 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 favor of style sheets.
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
更新日志
- 黄乙玲1988-无稳定的爱心肝乱糟糟[日本东芝1M版][WAV+CUE]
- 群星《我们的歌第六季 第3期》[320K/MP3][70.68MB]
- 群星《我们的歌第六季 第3期》[FLAC/分轨][369.48MB]
- 群星《燃!沙排少女 影视原声带》[320K/MP3][175.61MB]
- 乱斗海盗瞎6胜卡组推荐一览 深暗领域乱斗海盗瞎卡组分享
- 炉石传说乱斗6胜卡组分享一览 深暗领域乱斗6胜卡组代码推荐
- 炉石传说乱斗本周卡组合集 乱斗模式卡组最新推荐
- 佟妍.2015-七窍玲珑心【万马旦】【WAV+CUE】
- 叶振棠陈晓慧.1986-龙的心·俘虏你(2006复黑限量版)【永恒】【WAV+CUE】
- 陈慧琳.1998-爱我不爱(国)【福茂】【WAV+CUE】
- 咪咕快游豪礼放送,百元京东卡、海量欢乐豆就在咪咕咪粉节!
- 双11百吋大屏焕新“热”,海信AI画质电视成最大赢家
- 海信电视E8N Ultra:真正的百吋,不止是大!
- 曾庆瑜1990-曾庆瑜历年精选[派森][WAV+CUE]
- 叶玉卿1999-深情之选[飞图][WAV+CUE]