Difference between revisions of "HTML to CSS"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | + | The following table is a translation of the features in [[HTML]] and [[CSS]] "coding". | |
| + | |||
| + | {|border=1 | ||
| + | |Feature | ||
| + | |HTML | ||
| + | |CSS | ||
| + | |Comment | ||
| + | |---- | ||
| + | |center text | ||
| + | |align=center | ||
| + | |text-align: center | ||
| + | | | ||
| + | |---- | ||
| + | |italics | ||
| + | |<i></i> | ||
| + | |font-style: italic; | ||
| + | | | ||
| + | |---- | ||
| + | |bold | ||
| + | |<b></b> | ||
| + | |font-weight: bold; | ||
| + | | | ||
| + | |---- | ||
| + | |background | ||
| + | |bgcolor=#E6D596 | ||
| + | |background-color: #E6D596 | ||
| + | |Do not use quotes around hex codes here! | ||
| + | |---- | ||
| + | |capitalize words | ||
| + | | | ||
| + | |text-transform:capitalize; | ||
| + | | | ||
| + | |---- | ||
| + | |} | ||
| + | |||
| + | [[category:html]] | ||
Revision as of 22:28, June 28, 2010
The following table is a translation of the features in HTML and CSS "coding".
| Feature | HTML | CSS | Comment |
| center text | align=center | text-align: center | |
| italics | <i></i> | font-style: italic; | |
| bold | <b></b> | font-weight: bold; | |
| background | bgcolor=#E6D596 | background-color: #E6D596 | Do not use quotes around hex codes here! |
| capitalize words | text-transform:capitalize; |