copyright © CSSPG, last modified February 04 2001


 for practical use of CSS

Translations from HTML to CSS

this document is located at...
<URI:http://css.nu/articles/translate.html>

* HTML Elements *

HTML Elements: Translations to CSS
HTMLCSSDeprecated
<APPLET>N/AY
<B>font-weight 
<BASEFONT>font-size, font-familyY
<BIG>font-size 
<BLINK>text-decoration: blink; 
<CENTER>margin-left: auto; margin-right: auto;Y
<DIR>UL+styleY
<EM>font-style: italic; 
<FONT>font-family, font-sizeY
<HR>border-top: solid; 
<I>font-style: italic; 
<ISINDEX>N/AY
<MENU>UL+styleY
<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 Attributeof HTML ElementCSSDeprecated
alignsee filefloat, text-alignY
alink<BODY>A:activeY
background<BODY><TD>backgroundY
bgcolor<BODY>background-colorY
clear<BR>clearY
compact<LIST>display: compactY
face, size<FONT>font-family: Arial;Y
link<BODY>A:linkY
noshade<HR>CSS default is solidY
start<LIST>content: counterY
text<BODY>colorY
type<LIST>list-style-typeY
value<LIST>LI:beforeY
vlink<BODY>A:visitedY
width<HR>widthY

CSS Pointers Navigation
Index · Browser Bugs · Books · Tools · DHTML · XSL & DSSSL
Main Site Navigation
Index · Articles · Examples · Experiments · FAQ · Markup · Styles · Who is?
CSSPG ~ Sue ~ Roland
Validate markup Check CSS