I'm learning HTML and I need help with headings and colors?

Can I change the heading color from <h1 color="#000000> to something else? If so can you give me the code? I'm using the HTML Editor in Geocities. I know all about color numbers. It will not change from black, no matter what number I use. <h1 color="#ffffff"> comes out black EVEN though it's the code for white. Any ideas?

Public Comments

  1. This website is really good with html. I don't know if it includes changing headers but good luck anyway. ^^;;
  2. there are way too many codes just pick a number between 0-F http://www.immigration-usa.com/html_colors.html if it doesnt work then try CSS. i dont know if geocities allows you to use CSS
  3. U P D A T E D A N S W E R !!!! ! ! ! ! ! ! You can use Either of this 2 CODES.. <h1> <font color="#FF0000">Now the Font will come out RED, Sorry for the Confusion </font></h1> <h1> <font color="red">Now the Font will come out RED, Sorry for the Confusion </font></h1> You do not need to use the codes anyways for any of the colors...it works both ways...Sorry I could Not answer the question correctly before.
  4. First off...junk geocities and use a pure web space provider...that way your pages are just stored on their server and not ran past geocities 'add ins' before visitors get them. geocities, Homestead etc all use scripting before rendering YOUR markup, so you have little control over the content.
  5. I find that CSS has a lot more capibilities and will be better when controlling a website. To control ALL <h1> text, I suggest using this code on any page you need to: <style type="text/css"> h1 {color: yourcolorhere} </style> You can also plug in fonts, font sizes, and other text decorations if need be.
Powered by Yahoo! Answers