htmlcss

The text-underline-position property is used in CSS and certain HTML elements. This property specifies the default position of the underline which is set using the CSS text-decoration:underline;.

Values


HTML example:

<span style="text-decoration:underline; text-underline-position:auto;">Check out the underline.</span>


CSS example:

h1 {
    text-decoration:underline;
    text-underline-position:auto;
}