Quoting Ben Indy
I was editing my homepage, I wanted to try and use some HTML to make it interesting.
I made some text have color, and some big.
The big text shows up just fine, but, the clors I added in aren't showing up. I know I typed in the code right, becuse it's not showing the whole <color= thing.
Any suggestions?
You can look at my page if that will help.
Your page is currently using: <fontcolor=blue>
There should be a space before color, and you should end the font element at the end of the text, like this:
<font color=blue>My blue text</font>
A better way is to use the more modern CSS technique for colors and font sizes:
<div style="color:blue;">My blue text</div>
<div style="font-size:150%;">My large text</div>
Replace div with span to modify part of the text contained within a sentence:
Here is <span style="color:red;">some red</span> text.
Using this technique opens up a much larger array of possibilities for styling a <div> or <span>.
Permalink | June 23, 2012, 9:23 am