Answers for "how to add underlines in html"

CSS
30

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
5

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

Code answers related to "how to add underlines in html"

Browse Popular Code Answers by Language