Css Text-underline Code Example


Example 1: text-decoration css


h1 {
text-decoration: overline;
}

h2 {
text-decoration: line-through;
}

h3 {
text-decoration: underline;
}

h4 {
text-decoration: underline overline;
}

Example 2: underline text using css


/* Using 'text-decoration' property with 'underline' value. we can draw underline below the text using css */
<style>
p
{
text-decoration: underline;
}
</style>
<p>Hello all Welcome here !!!</p>

Example 3: how to underline font in css


h3 {
text-decoration: underline;
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable