What's the difference between <ins>and <u>? both produces the same output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the difference between <ins>and <u>? both produces the same output

Html

15th Jun 2019, 7:11 AM
Ayush Garg
4 Answers
+ 5
I have just checked on w3schools, <ins> is apparently when you insert something into a document. Not underline. https://www.w3schools.com/TAGs/tag_ins.asp
15th Jun 2019, 7:27 AM
Clueless Coder
Clueless Coder - avatar
+ 9
Here's some important information: <b> and <strong> makes text bold <i> and <em> makes text italic <u> and <ins> makes text underlined <Del >and <s> both strike through text
15th Jun 2019, 7:25 AM
Ayush Garg
+ 3
Thanks
15th Jun 2019, 7:28 AM
Ayush Garg
+ 1
The difference is that <ins> has a semantic meaning while <u> is just styling one like the difference between <em> and <i>
14th Aug 2019, 9:42 AM
Dalia Yahia
Dalia Yahia - avatar