6.4.4 Precedence of non-CSS presentational hints

Chapter 6 - Assigning property values, Cascading, and Inheritance - 6.4.4 Precedence of non-CSS presentational hints

Go to the relevant page of the specification.

html-attribute-001
Attribute 'align' vs. CSS 'caption-side' specificity
Attribute 'align' has a specificity of zero and is overridden by CSS.
html-attribute-002 (interact)
Attribute 'alink' vs. CSS active specificity
Attribute 'alink' has a specificity of zero and is overridden by CSS.
html-attribute-003 (image)
Attribute 'background' vs. CSS 'background' specificity
Attribute 'background' has a specificity of zero and is overridden by CSS.
html-attribute-004
Attribute 'bgcolor' vs. CSS 'background-color' specificity
Attribute 'bgcolor' has a specificity of zero and is overridden by CSS.
html-attribute-005
Attribute 'border' vs. CSS border specificity
Attribute 'border' has 0 specificity and is overridden by CSS.
html-attribute-006
Attribute 'cellpadding' vs. CSS 'padding' specificity
Attribute 'cellpadding' has a specificity of zero and is overridden by CSS.
html-attribute-007
Attribute 'cellspacing' vs. CSS border-spacing specificity
Attribute 'cellspacing' has 0 specificity and is overridden by CSS.
html-attribute-008
Attribute 'clear' vs. CSS 'clear' specificity
Attribute 'clear' has a specificity of zero and is overridden by CSS.
html-attribute-009
Attribute 'color' vs. CSS 'color' specificity
Attribute 'color' has a specificity of zero and is overridden by CSS.
html-attribute-010
Attribute 'cols' vs CSS 'width' specificity
Attribute 'cols' has a specificity of zero and is overridden by CSS.
html-attribute-011
Attribute 'width' vs. CSS 'width' specificity
Attribute 'width' has a specificity of zero and is overridden by CSS.
html-attribute-012 (ahem)
Attribute 'face' vs. CSS 'font-family' specificity
Attribute 'face' has a specificity of zero and is overridden by CSS.
html-attribute-013
Attribute 'valign' vs. CSS 'vertical-align' specificity
Attribute 'valign' has a specificity of zero and is overridden by CSS.
html-attribute-014
Attribute 'frame' vs. CSS 'border' specificity
Attribute 'frame' has a specificity of zero and is overridden by CSS.
html-attribute-015
Attribute 'rules' vs. CSS border specificity
Attribute 'rules' has a specificity of zero and is overridden by CSS.
html-attribute-017
Attribute 'height' vs. CSS 'height' specificity
Attribute 'height' has a specificity of zero and is overridden by CSS.
html-attribute-018 (image)
Attribute 'hspace' vs. CSS 'margin' specificity
Attribute 'hspace' has a specificity of zero and is overridden by CSS.
html-attribute-019 (image)
Attribute 'vspace' vs. CSS 'margin' specificity
Attribute 'vspace' has a specificity of zero and is overridden by CSS.
html-attribute-020
Attribute 'link' vs. CSS ':link' specificity
Attribute 'link' has a specificity of zero and is overridden by CSS.
html-attribute-021
Attribute 'marginheight' vs. CSS 'margin' specificity
Attribute 'marginheight' has a specificity of zero and is overridden by CSS.
html-attribute-022
Attribute 'marginwidth' vs. CSS 'margin' specificity
Attribute 'marginwidth' has a specificity of zero and is overridden by CSS.
html-attribute-023
HTML 'noshade' attribute vs CSS color specificity
Attribute 'noshade' has 0 specificity and is overridden by CSS.
html-attribute-024
Attribute 'nowrap' vs. CSS 'white-space' specificity
Attribute 'nowrap' has a specificity of zero and is overridden by CSS.
html-attribute-025
Attribute 'rows' vs CSS 'height' specificity
Attribute 'rows' has a specificity of zero and is overridden by CSS.
html-attribute-027
Attribute 'size' vs CSS 'height' specificity
Attribute 'size' has a specificity of zero and is overridden by CSS.
html-attribute-028
Attribute 'text' vs. CSS 'color' specificity
Attribute 'text' has a specificity of zero and is overridden by CSS.
html-attribute-029 (history, interact)
Attribute 'vlink' vs. CSS ':visited' specificity
Attribute 'vlink' has a specificity of zero and is overridden by CSS.
html-precedence-001
Element selector precedence
The 'color' attribute has a specificity equal to 0 which be overridden by subsequent style sheet rules.