+ 2
what tag should I use to underline a sentence?
8 Answers
+ 3
or simple way:
<u>Hello world!</u>
+ 1
thanks
+ 1
Hello
0
<u>
0
you can underline in css by this code
p{
text-decoration:underline;
}
0
<u>write the text</u>
0
<ins> like this</ins>
- 1
HTML (example): <p id=âunderlineâ>Hello, World!</p>
CSS: #underline (or alternatively âpâ or â.underlineâ) {
text-decoration: underline;
}
Or you can do <p style=âtext-decoration: underline;â> Hello, World!</p>