Alex Rivera | Logout

Is use of <u>underline</u> deprecated and non validated?

Asked 2010-01-21T16:15:13.623
36

Is use of underline deprecated and non validated?

Edit
Report

2 Answers

3

Yes, it was deprecated in HTML 4. However, you can just use the following css.

span.underline { text-decoration: underline; }

However, the underline class name is not semantic. You may want to replace it with a class name that describes the content you need underlined.

answered 2010-01-21T16:18:32.570
0

Deprecated: yes.
Validated: ? I guess that depends on what you are using to validate it.

http://www.codehelp.co.uk/html/deprecated.html

answered 2010-01-21T16:17:16.940

Your Answer