+ 2

what is the html tag to underline a text??

1st Dec 2016, 11:28 AM
Deekshith Banjan
Deekshith Banjan - avatar
4 Antworten
+ 3
You could use the HTML <u> tag, but it's better to use a CSS attribute for underlining text: text-decoration: underline
1st Dec 2016, 12:00 PM
David Barzi
David Barzi - avatar
+ 1
<ins>text</ins>
1st Dec 2016, 12:00 PM
Samuel Neo
Samuel Neo - avatar
0
thanks but is there any difference between <u> and <ins> tags?
1st Dec 2016, 12:40 PM
Deekshith Banjan
Deekshith Banjan - avatar
0
Similar to other HTML tags, it helps document what you meant when you developed the script. The <ins> tag marks text added later on to the original text and <u> marks text with a different formatting.
1st Dec 2016, 12:42 PM
David Barzi
David Barzi - avatar