Jump to content

# needed or not?


RivkaS
 Share

Recommended Posts

I just played around with the Tryit Editor for tables and added a color with the number only like this:bgcolor="FF99CC".The color was displayed nicely and now I would like to know if it is obligatory to add "#" or not.

Link to comment
Share on other sites

I just played around with the Tryit Editor for tables and added a color with the number only like this:bgcolor="FF99CC".The color was displayed nicely and now I would like to know if it is obligatory to add "#" or not.
Do you have a page on the web to look at? Does it validate?
Link to comment
Share on other sites

I just played around with the Tryit Editor for tables and added a color with the number only like this:bgcolor="FF99CC".The color was displayed nicely and now I would like to know if it is obligatory to add "#" or not.
The "#" tells your browser the color is defined as a hexadecimal notation. You can also display by there name ore the color RGB (red, green, blue).It could be possible that some browsers can't read it the way you wrote it however I doubt that.Ruud Hermans
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...