Answers for "how to underline text in html using style"

CSS
2

html text decoration

<p style="text-decoration: none;"> There will be no effects. Default value </p>
<p style="text-decoration: underline;"> Text will be underlined </p>
<p style="text-decoration: overline;"> A line will be drawn over the text </p>
<p style="text-decoration: line-through;"> Text will be strikethrough </p>
Posted by: Guest on April-03-2021
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

Browse Popular Code Answers by Language