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 background-color: yellow;, whereas background-color: "yellow"; is an error.

See the definition of each property for information about which keywords, if any, it allows.

User-contributed notes

Related Products