CSS Property:
text-decoration-style:

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