Back to the 2019 paper

Module I: Introduction to Web Technologies & Architectures

20192m

Which of the following is not used with text-decoration property?

(i) Overline
(ii) Underline
(iii) Line-through
(iv) Inline

Worked SolutionAI Assisted

Correct Answer: (iv) Inline

Explanation:

  • In CSS, the text-decoration (or text-decoration-line) property accepts values that specify decorative lines added to text:
    • underline: Line under the text.
    • overline: Line above the text.
    • line-through: Strikethrough line across the text.
    • none: Removes any decoration.
  • inline is a value of the CSS display property (display: inline;), not the text-decoration property.

Similar questions