Help:Editing: Difference between revisions

→‎Colored Text: changed from deprecated to current code, and also made it more understandable
No edit summary
(→‎Colored Text: changed from deprecated to current code, and also made it more understandable)
Line 340: Line 340:
<PRE>
<PRE>
<nowiki>
<nowiki>
<font color="purple">purple</font>
<span style="color:purple;">purple text</span>
<font color="green">green</font>
<span style="color:green;">green text</span>
<font color="red">red</font>
<span style="color:red;">red text</span>
<font color="grey">grey</font>
<span style="color:grey;">grey text</span>
<font color="black">black</font>
<span style="color:black;">black text</span>
<font color="pink">pink</font>
<span style="color:pink;">pink text</span>
<font color="orange">orange</font>
<span style="color:orange;">orange text</span>
<font color="yellow">yellow</font>
<span style="color:yellow;">yellow text</span>
<font color="blue">blue</font>
<span style="color:blue;">blue text</span>
<font color="silver">silver</font>
<span style="color:silver;">silver text</span>
</nowiki></PRE>
</nowiki></PRE>


Will output:<font color="purple">purple</font>
Will output:<span style="color:purple;">purple text</span>
<font color="green">green</font>
<span style="color:green;">green text</span>
<font color="red">red</font>
<span style="color:red;">red text</span>
<font color="grey">grey</font>
<span style="color:grey;">grey text</span>
<font color="black">black</font>
<span style="color:black;">black text</span>
<font color="pink">pink</font>
<span style="color:pink;">pink text</span>
<font color="orange">orange</font>
<span style="color:orange;">orange text</span>
<font color="yellow">yellow</font>
<span style="color:yellow;">yellow text</span>
<font color="blue">blue</font>
<span style="color:blue;">blue text</span>
<font color="silver">silver</font>
<span style="color:silver;">silver text</span>


For a complete list of possible colors, see Wikipedia's article on [[wikipedia:Web colors|web colors]]. Simply copy the hex code next to your preferred color, paste in the appropriate spot, and remove the spaces in the hex code. For example:
For a complete list of possible colors, see Wikipedia's article on [[wikipedia:Web colors|web colors]]. Simply copy the hex code next to your preferred color, paste in the appropriate spot, and remove the spaces in the hex code. For example:


<pre><font color="blue">This text is blue.</font></pre>
<pre><span style="color:#0000FF;">This text is blue.</span></pre>


Will give this: <font color="blue">This text is blue.</font>
Will give this: <span style="color:#0000FF;">This text is blue.</span>


{{Helplist}}
{{Helplist}}


[[Category:Help|Editing]]
[[Category:Help|Editing]]
Anonymous user