Answers for "tag underline text html"

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
5

html underline tag

Ex. Underline word "parragraph" using 'u' tag:

<p>This is a <u>parragraph</u>.</p>
Posted by: Guest on March-16-2020

Browse Popular Code Answers by Language