XHTML中不再使用HTML中的一些废弃元素_HTML/Xhtml_网页制作
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了XHTML中不再使用HTML中的一些废弃元素_HTML/Xhtml_网页制作,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含4293字,纯文字阅读大概需要7分钟。
内容图文
![XHTML中不再使用HTML中的一些废弃元素_HTML/Xhtml_网页制作](/upload/InfoBanner/zyjiaocheng/410/5ee20c683efa4227a5d3554a6b2ea757.jpg)
在XHTML中不再使用HTML中的一些废弃元素。它们主要有以下一些。
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 that has been deprecated in favor of style sheets.
The blockquote element is deprecated in 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.
The isindex element has been deprecated in favor of 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, 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.
内容总结
以上是互联网集市为您收集整理的XHTML中不再使用HTML中的一些废弃元素_HTML/Xhtml_网页制作全部内容,希望文章能够帮你解决XHTML中不再使用HTML中的一些废弃元素_HTML/Xhtml_网页制作所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。