Which of the following property is used to add or subtract space between the letters that make up a word?

color
direction
letter-spacing
word-spacing

The correct answer is: C. letter-spacing

A. color is the property used to specify the color of text.

B. direction is the property used to specify the direction of text flow.

D. word-spacing is the property used to specify the space between words.

Letter-spacing is the property used to add or subtract space between the letters that make up a word. It is a CSS property that can be used to control the spacing between letters in a text element. The value of the letter-spacing property is a length value that specifies the amount of space to add or subtract between letters. A positive value will add space, while a negative value will subtract space.

For example, the following CSS code will add 0.1em of space between the letters in the text element:

css
p {
letter-spacing: 0.1em;
}

The following CSS code will subtract 0.1em of space between the letters in the text element:

css
p {
letter-spacing: -0.1em;
}

Letter-spacing can be used to create a variety of effects, such as making text appear larger or smaller, or to add emphasis to certain words or phrases.

Exit mobile version