Complete the code to set the font family to Arial.
body { font-family: [1]; }The font-family property sets the font of the text. Here, Arial is the correct font name.
Complete the code to set the font family to a list with Helvetica and fallback to sans-serif.
p { font-family: [1]; }The font-family property can have multiple fonts separated by commas. The browser uses the first available font. Here, "Helvetica", sans-serif means use Helvetica if available, otherwise use any sans-serif font.
Fix the error in the font-family declaration to use the correct syntax.
h1 { font-family: [1]; }The correct syntax for multiple fonts in font-family is to separate them with commas. Option C uses a comma between Arial and sans-serif.
Fill both blanks to set the font family to 'Courier New' with fallback monospace.
code { font-family: [1], [2]; }The font family list uses quotes for font names with spaces like "Courier New". The fallback generic font is monospace.
Fill all three blanks to set font family with 'Georgia', fallback 'Times New Roman', and generic serif.
div { font-family: [1], [2], [3]; }The font family list includes Georgia (no quotes needed), then "Times New Roman" (quotes needed because of spaces), and finally the generic family serif as fallback.