在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.
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
《魔兽世界》大逃杀!60人新游玩模式《强袭风暴》3月21日上线
暴雪近日发布了《魔兽世界》10.2.6 更新内容,新游玩模式《强袭风暴》即将于3月21 日在亚服上线,届时玩家将前往阿拉希高地展开一场 60 人大逃杀对战。
艾泽拉斯的冒险者已经征服了艾泽拉斯的大地及遥远的彼岸。他们在对抗世界上最致命的敌人时展现出过人的手腕,并且成功阻止终结宇宙等级的威胁。当他们在为即将于《魔兽世界》资料片《地心之战》中来袭的萨拉塔斯势力做战斗准备时,他们还需要在熟悉的阿拉希高地面对一个全新的敌人──那就是彼此。在《巨龙崛起》10.2.6 更新的《强袭风暴》中,玩家将会进入一个全新的海盗主题大逃杀式限时活动,其中包含极高的风险和史诗级的奖励。
《强袭风暴》不是普通的战场,作为一个独立于主游戏之外的活动,玩家可以用大逃杀的风格来体验《魔兽世界》,不分职业、不分装备(除了你在赛局中捡到的),光是技巧和战略的强弱之分就能决定出谁才是能坚持到最后的赢家。本次活动将会开放单人和双人模式,玩家在加入海盗主题的预赛大厅区域前,可以从强袭风暴角色画面新增好友。游玩游戏将可以累计名望轨迹,《巨龙崛起》和《魔兽世界:巫妖王之怒 经典版》的玩家都可以获得奖励。