Posted: Sat Sep 13, 2008 12:52 pm I'm a newbie to html
I have just begun the journey and need some help introducing color in my pages can someone help? Thanks Alana
PayneLess Designs
Joined: 28 Feb 2007
Posts: 1402
Location: Biloxi, MS
Posted: Sat Sep 13, 2008 1:35 pm
Welcome Alana:
Please be more specific as to the help you need when posting. Color can refer to many things and what you are looking to do for your pages needs to be explained.
Just pick the right section of this forum and post away.
Good luck.
Alana Hoff
Joined: 13 Sep 2008
Posts: 2
Posted: Sat Sep 13, 2008 2:36 pm Adding color to web pages
How do I add colored text to a web page. I tried to use the code for colors but it never worked for me? I don't know where to place it perhaps?
PayneLess Designs
Joined: 28 Feb 2007
Posts: 1402
Location: Biloxi, MS
Posted: Sat Sep 13, 2008 3:29 pm
If you want the text to be all the same color on the page and you are using embedded styling on each page (external CSS stylesheet is better), then style your text color this way:
Between the head tags -
Code: <style type="text/css">
body {
color: #ff00ff;
}
</style>
That makes all text on your page Fuchsia/Magenta. If this is what you want and then need to change some text on the same page to another color, then use this:
Example -
Code: <p><span style="color: #556b2f;">This text will be DarkOliveGreen.</span></p>