CSS Property:
text-decoration-line:

Note: The text-decoration-line property is not supported in any of the major browsers.

Note: Firefox supports an alternative, the -moz-text-decoration-line property.

Result:
Hello world!
CSS Code:
#myDIV {
text-decoration-line: underline;
}
Click the property values above to see the result
w3ii.com - Play it