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

Enhance your coding skills with our Web Development 201 Quiz. Practice with multiple-choice questions and find detailed explanations for each question. Ace your web development 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