+ 3
how to underline the text in html
6 odpowiedzi
+ 8
enclose that text within <u>Your text goes here </u>
+ 4
<p style="text-style: underline;">your text</p>
+ 3
Text-style isn't a property.
https://www.w3schools.com/cssref/default.asp
The <u> tag is deprecated.
https://www.w3schools.com/tags/tag_u.asp
Use style="text-decoration: underline;" instead.
+ 2
CSS is better, but the original post did say HTML.
0
Use the text-decoration:underlined property to add this