📅  最后修改于: 2020-12-16 06:08:18             🧑  作者: Mango
此处提供了不推荐使用的HTML标签和属性的完整列表。所有标签及其等效标签或替代CSS选项均按字母顺序排列。
以下是不推荐使用的HTML属性和可用的CSS选项的列表。
Attribute | Description | Alternate |
---|---|---|
align | Specifies positioning of an element | text-align, float & vertical-align |
alink | Specifies the color of an active link or selected link | active |
background | Specifies background image | background-image |
bgcolor | Specifies background color | background-color |
border | Specifies a border width of any element | border-width |
clear | Indicates how the browser should display the line after the element |
clear |
height | Specifies height of body and other elements | height |
hspace | Specifies the amount of whitespace or padding that should appear left or right an element | padding |
language | Specifies scripting language being used | type |
link | Specifies the default color of all links in the document | link |
nowrap | Prevents the text from wrapping within that table cell | white-space |
start | Indicates the number at which a browser should start numbering a list | counter-reset |
text | Specifies color of body text | color |
type | Specifies the type of list in |
list-style-type |
vlink | Specifies the color of visited links | visited |
vspace | Specifies the amount of whitespace or padding that should appear above or below an element | padding |
width | Specifies width of body and other elements | width |