Which property can remove the underline from links?

Prepare for the Web Development 201 Test. Study with flashcards, multiple-choice questions, and detailed explanations. Get exam-ready!

The property that can remove the underline from links is text-decoration. This CSS property is used to set the appearance of text decorations on an element, which includes underlines, overlines, and line-throughs. By default, hyperlinks (or links) are typically styled with an underline to indicate that they are clickable. To change this, you can set the text-decoration property to "none". This effectively removes the underline from the link, allowing you to customize its appearance to fit your design needs.

In contrast, the other properties listed do not affect the presence of underlines on links. Underline is not a valid CSS property; it is a description of an effect rather than a property itself. Text-justify controls the justification of text in a block, but has no impact on link styling. Writing-mode determines the direction and flow of text, but does not control text decoration. Thus, text-decoration is the correct choice for removing underlines from links.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy