Which of the following sets the mode for the overline text decoration, determining whether the text decoration affects the space characters or not?

text-decoration
text-mode-overflow
text-mode
text-overline-mode

The correct answer is D. text-overline-mode.

The text-overline-mode CSS property sets the mode for the overline text decoration, determining whether the text decoration affects the space characters or not.

The possible values for the text-overline-mode property are:

  • normal : The overline text decoration affects all characters, including space characters.
  • no-space : The overline text decoration does not affect space characters.

For example, the following CSS code will create a paragraph with an overline text decoration that affects all characters, including space characters:

css
p {
text-decoration: overline;
}

The following CSS code will create a paragraph with an overline text decoration that does not affect space characters:

css
p {
text-decoration: overline;
text-overline-mode: no-space;
}