From WikiKnowledge
This is a list of old HTML tags and attributes and their CSS replacement.
| HTML
| CSS
|
| <b>
| font-weight: bold;
|
| <i>
| font-style: italic;
|
| <u>
| text-decoration: underline;
|
| <s> or <strike>
| text-decoration: line-through;
|
| <center>
| text-align: center;
|
| <font>
| This tag has been replaced by various other CSS rules. See text and fonts for details.
|
| <pre>
| Use white-space: pre; to preserve the whitespace. If you want the monospace font as well you need to use font-family: monospace;.
|
| <blink>
| text-decoration: blink;
|
| <tt>
| font-family: monospace;
|
| <big> and <small>
| Use font-size
|
| <sub>
| vertical-align: sub;
|
| <sup>
| vertical-align: super;
|
[edit] Tables
[edit] Navigation