Interview Questions

Must I quote property values?

CSS Interview Questions and Questions

(Continued from previous question...)

94. Must I quote property values?

Generally no. However, values containing white spaces, e.g. font-family names should be quoted as whitespaces surrounding the font name are ignored and whitespaces inside the font name are converted to a single space, thus font names made up of more than one word (e.g.) 'Times New Roman' are interpreted as three different names: Times, New and Roman.

(Continued on next question...)

Other Interview Questions