This is a legacy document, and retained on the site in order to avoid link rot. The content is likely no longer (a) accurate, (b) representative of the views and philosophies of current site management, or (c) up to date.

Translations from HTML to CSS

HTML Elements

HTML Elements: Translations to CSS
HTML CSS Deprecated
<B> font-weight
<BASEFONT> font-size, font-family Y
<BIG> font-size
<BLINK> text-decoration: blink;
<CENTER> margin-left: auto; margin-right: auto; Y
<DIR> UL+style Y
<EM> font-style: italic;
<FONT> font-family, font-size Y
<HR> border-top: solid;
<I> font-style: italic;
<MENU> UL+style Y
<STRIKE> text-decoration: line-through; Y
<S> text-decoration: line-through; Y
<SMALL> font-size
<STRONG> font-weight: bold;
<SUB> vertical-align: sub;
<SUP> vertical-align: sup;
<TT> font-family: monospace;
<U> text-decoration: underline; Y

HTML Attributes

HTML Attributes: Translations to CSS
HTML Attribute of HTML Element CSS Deprecated
align see file float, text-align Y
alink <BODY> A:active Y
background <BODY><TD> background Y
bgcolor <BODY> background-color Y
clear <BR> clear Y
compact <LIST> display: compact Y
face, size <FONT> font-family: Arial; Y
link <BODY> A:link Y
noshade <HR> CSS default is solid Y
start <LIST> content: counter Y
text <BODY> color Y
type <LIST> list-style-type Y
value <LIST> LI:before Y
vlink <BODY> A:visited Y
width <HR> width Y


Sue Sims