Answers for "underline html"

50

text-decoration css

h1 {
  text-decoration: overline;
}

h2 {
  text-decoration: line-through;
}

h3 {
  text-decoration: underline;
}

h4 {
  text-decoration: underline overline;
}
Posted by: Guest on February-20-2020
21

underline text in html

<!-- Using 'u' tag we can draw underline below the text in HTML -->
<p>Hello all <u>Welcome here !!!</u></p>
Posted by: Guest on June-04-2020
2

how to underline text in html

<!-- Here are two ways to underline text in HTML -->

<!--Method 1-->
<p>The deer started <u>running</u> </p> 		<!--"Running" is underlined.-->

<!--Method 2-->
.myStyle {													   	<!--CSS-->
  text-decoration: underline;
}

<p>The deer started <span style="myStyle">running</span> </p> 	<!--HTML-->
Posted by: Guest on August-17-2021
8

how to underline font in css

h3 {
  text-decoration: underline;
}
Posted by: Guest on April-28-2020
1

underline text html

<u>underline</u>
Posted by: Guest on August-03-2021
0

underline html

<p>Hello all <u>Welcome here !!!</u></p>
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language