Keywords
Many CSS property values can be specified as keywords. A keyword is an
identifier, and it mustn’t be
surrounded by quotation marks. So the correct syntax is
, whereas
background-color:
yellow; is an error.background-color:
"yellow";
See the definition of each property for information about which keywords, if any, it allows.
User-contributed notes
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.