Cascading Style Sheets/HTML Index

From WikiKnowledge

Jump to: navigation, search

This is a list of old HTML tags and attributes and their CSS replacement.

Contents

[edit] Tags

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] Lists

HTML CSS
type list-style-type

[edit] Tables

HTML CSS
cellspacing border-collapse

[edit] Navigation

Personal tools
Ads:

Your Ad Here