what tag should I use to underline a sentence? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what tag should I use to underline a sentence?

3rd Jan 2018, 2:06 PM
masheat
8 Answers
+ 3
or simple way: <u>Hello world!</u>
3rd Jan 2018, 2:43 PM
CalviŐČ
CalviŐČ - avatar
+ 1
thanks
3rd Jan 2018, 2:23 PM
masheat
+ 1
Hello
5th Jan 2018, 11:30 AM
Dilshod
Dilshod - avatar
0
<u>
5th Jan 2018, 9:28 AM
MUHAMMED ANSARI
MUHAMMED ANSARI - avatar
0
you can underline in css by this code p{ text-decoration:underline; }
5th Jan 2018, 3:09 PM
Abu Salehin Rifat
Abu Salehin Rifat - avatar
0
<u>write the text</u>
6th Jan 2018, 8:08 AM
RAHUL RAJ
RAHUL RAJ - avatar
0
<ins> like this</ins>
9th Feb 2018, 8:44 PM
Lotte
- 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>
3rd Jan 2018, 2:11 PM
luciel
luciel - avatar