Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color:#E7E9EB;
}
#myDIV {
  height:300px;
  background-color:#FFFFFF;
  padding:10px;
  text-decoration: underline blue;
  text-underline-position: under;  
}
</style>
</head>
<body>
<h1>The text-underline-position property</h1>
<div id="myDIV">
<h1>C<sub>6</sub>H<sub>12</sub>O<sub>16</sub> (glucose)</h1>
</div>
</body>
</html>