Playit
CSS Property:
text-decoration-style:

Note: The text-decoration-style property is not supported by Internet Explorer/Edge or Safari.

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