Which CSS property controls the space between characters in text?
A
word-spacing B
letter-spacing C
text-spacing D
line-height
Analysis & Theory
`letter-spacing` controls the space between individual characters.
Which CSS property controls the space between words?
A
letter-spacing B
word-spacing C
text-indent D
text-align
Analysis & Theory
`word-spacing` controls the space between words.
What is the default value of `letter-spacing`?
A
normal B
0px C
1em D
inherit
Analysis & Theory
The default value is `normal`, which means no additional spacing is added.
How would you increase the spacing between letters by 2 pixels?
A
letter-spacing: 2em; B
letter-spacing: 2px; C
word-spacing: 2px; D
text-spacing: 2px;
Analysis & Theory
`letter-spacing: 2px;` adds 2 pixels of space between characters.
Can `letter-spacing` accept negative values?
A
Yes B
No C
Only zero D
Only positive values
Analysis & Theory
Negative values for `letter-spacing` reduce the space between characters.
Which unit is NOT valid for `word-spacing`?
A
px B
em C
% D
rem
Analysis & Theory
`word-spacing` does not support percentages; only length units like px, em, rem are valid.
What effect does `word-spacing: 0;` have?
A
Removes all space between words B
Keeps default word spacing C
Increases word spacing by 0 pixels D
Sets word spacing to zero explicitly, same as default
Analysis & Theory
`word-spacing: 0;` explicitly sets spacing to zero, which typically equals the default spacing.
Which property would you use to adjust spacing for better readability in a paragraph?
A
letter-spacing B
word-spacing C
Both letter-spacing and word-spacing D
text-indent
Analysis & Theory
Both `letter-spacing` and `word-spacing` can be adjusted to improve readability.
What does `letter-spacing: normal;` do?
A
Removes all spacing between letters B
Uses the browser's default spacing between letters C
Sets spacing to zero D
Increases spacing by 1em
Analysis & Theory
`normal` resets the letter spacing to the browser's default.
Which CSS rule increases the space between words by 5 pixels?
A
word-spacing: 5em; B
word-spacing: 5px; C
letter-spacing: 5px; D
text-spacing: 5px;
Analysis & Theory
`word-spacing: 5px;` adds 5 pixels of space between words.