Difference between revisions of "HTML to CSS"

From Conservapedia
Jump to navigation Jump to search
(Created page with '{| |Feature |HTML |CSS |Comment |---- |center text |align=center |text-align: center | |---- |italics |<i></i> |font-style: italic; | |---- |bold |<b></b>...')
 
m (typo/copy and paste error)
 
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
−
{|
+
The following table is a translation of the features in [[HTML]] and [[CSS]] "coding".
 +
 
 +
{|border=1
 
|Feature
 
|Feature
 
|HTML
 
|HTML
Line 5: Line 7:
 
|Comment
 
|Comment
 
|----
 
|----
−
|center text
+
|bold
−
|align=center
+
|&lt;b&gt;&lt;/b&gt;
−
|text-align: center
+
|font-weight: bold;
 
|
 
|
 
|----
 
|----
−
|italics
+
|italic
 
|&lt;i&gt;&lt;/i&gt;
 
|&lt;i&gt;&lt;/i&gt;
 
|font-style: italic;
 
|font-style: italic;
 
|
 
|
 
|----
 
|----
−
|bold
+
|underline
−
|&lt;b&gt;&lt;/b&gt;
+
|&lt;u&gt;&lt;/u&gt;
−
|font-weight: bold;  
+
|text-decoration: underline;
 +
|
 +
|----
 +
|center text
 +
|align=center
 +
|text-align: center
 
|
 
|
 
|----
 
|----
Line 31: Line 38:
 
|----
 
|----
 
|}
 
|}
 +
 +
 +
[[Category:Computer tips]]

Latest revision as of 02:51, June 7, 2016

The following table is a translation of the features in HTML and CSS "coding".

Feature HTML CSS Comment
bold <b></b> font-weight: bold;
italic <i></i> font-style: italic;
underline <u></u> text-decoration: underline;
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;