What text-decoration value will remove the underline from a link?

Prepare for the Web Development 201 Test. Study using flashcards and multiple choice questions, each offering hints and explanations. Get ready for your exam!

The value that will remove the underline from a link is "none." In CSS, the text-decoration property is used to specify the decoration added to text, and a common default for hyperlinks is an underline. By setting the text-decoration property to "none," you effectively eliminate this underline, presenting the link as regular text without any decorative lines.

Using "hidden" does not relate to removing the underline specifically; it controls visibility with respect to scrolling and other elements rather than altering text decoration. The value "underline" would actually apply an underline effect, which is contrary to what is needed here. Similarly, "overline" adds a line above the text rather than eliminating any decoration from the text itself. Thus, "none" is the correct choice for removing the underline on a link, making it visually cleaner or allowing for other styling to take precedence.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy