📅  最后修改于: 2020-10-23 06:32:00             🧑  作者: Mango
以下元素在HTML5中不再可用,并且CSS可以更好地处理其函数-
Tags (Elements) | Description |
---|---|
Defines an acronym | |
Defines an applet | |
Defines an base font for the page. | |
Defines big text | |
Defines centered text | |
Defines a directory list | |
Defines text font, size, and color | |
Defines a frame | |
Defines a set of frames | |
Defines a single-line input field | |
Defines a noframe section | |
Defines strikethrough text | |
Defines strikethrough text | |
Defines teletype text | |
Defines underlined text |
HTML5不具有HTML4中的表示形式属性,因为CSS可以更好地处理其功能。 HTML5中的某些属性完全不再被HTML5所允许,并且它们已被完全删除。
以下是已删除属性的表及其对应的受影响标签(元素),即。那些属性已被永久删除的元素-
Removed Attributes | From the Elements |
---|---|
rev | link, a |
charset | link and a |
shape | a |
coords | a |
longdesc | img and iframe. |
target | link |
nohref | area |
profile | head |
version | html |
name | img |
scheme | meta |
archive | object |
classid | object |
codebase | object |
codetype | object |
declare | object |
standby | object |
valuetype | param |
type | param |
axis | td and t |
abbr | td and t |
scope | td |
align | caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr. |
alink | body |
link | body |
vlink | body |
text | body |
background | body |
bgcolor | table, tr, td, th and body. |
border | table and object. |
cellpadding | table |
cellspacing | table |
char | col, colgroup, tbody, td, tfoot, th, thead and tr. |
charoff | col, colgroup, tbody, td, tfoot, th, thead and tr. |
clear | br |
compact | dl, menu, ol and ul. |
frame | table |
compact | dl, menu, ol and ul. |
frame | table |
frameborder | iframe |
hspace | img and object. |
vspace | img and object. |
marginheight | iframe |
marginwidth | iframe |
noshade | hr |
nowrap | td and th |
rules | table |
scrolling | iframe |
size | hr |
type | li, ol and ul. |
valign | col, colgroup, tbody, td, tfoot, th, thead and tr |
width | hr, table, td, th, col, colgroup and pre. |