Difference between revisions of "HTML to CSS"
Jump to navigation
Jump to search
m (move up bold & italic) |
|||
| Line 7: | Line 7: | ||
|Comment | |Comment | ||
|---- | |---- | ||
| − | | | + | |bold |
| − | | | + | |<b></b> |
| − | | | + | |font-weight: bold; |
| | | | ||
|---- | |---- | ||
| Line 17: | Line 17: | ||
| | | | ||
|---- | |---- | ||
| − | | | + | |center text |
| − | | | + | |align=center |
| − | | | + | |text-align: center |
| | | | ||
|---- | |---- | ||
Revision as of 16:29, December 17, 2010
The following table is a translation of the features in HTML and CSS "coding".
| Feature | HTML | CSS | Comment |
| bold | <b></b> | font-weight: bold; | |
| italics | <i></i> | font-style: italic; | |
| center text | align=center | text-align: center | |
| background | bgcolor=#E6D596 | background-color: #E6D596 | Do not use quotes around hex codes here! |
| capitalize words | text-transform:capitalize; |