hiding a u tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

hiding a u tag

how do u hide a u tag do you use html or css or js

19th Mar 2019, 2:14 PM
ANONYMOUS
ANONYMOUS - avatar
8 Answers
+ 9
Can You Elaborate Little More!!!
19th Mar 2019, 2:24 PM
ʌŋoŋƴɱous Codɘʀ
ʌŋoŋƴɱous Codɘʀ - avatar
+ 3
I think that what you are searching for is the CSS visibility property https://www.sololearn.com/learn/CSS/1113/
19th Mar 2019, 2:42 PM
Tim Thuma
Tim Thuma - avatar
+ 2
look at this and you will understand what i me https://code.sololearn.com/W2SwknROZXuE/?ref=app
19th Mar 2019, 2:36 PM
ANONYMOUS
ANONYMOUS - avatar
+ 2
Oh, then you need the text-decoration property https://www.w3schools.com/cssref/pr_text_text-decoration.asp You should set it like this: u { text-decoration: none; }
19th Mar 2019, 2:48 PM
Tim Thuma
Tim Thuma - avatar
+ 2
ok but what if i want to get rid of the underline but have .com in green how do i do that
19th Mar 2019, 2:52 PM
ANONYMOUS
ANONYMOUS - avatar
+ 2
Then you should assign "text-decoration: none;" to the <a> tag, instead of <u>
19th Mar 2019, 2:58 PM
Tim Thuma
Tim Thuma - avatar
+ 1
no because when i do that it gets rid of the writing too i dont want it to get rid of the writing i just want to get rid of the underline
19th Mar 2019, 2:44 PM
ANONYMOUS
ANONYMOUS - avatar
0
Better yo use a 'span' tag rather than another 'a' tag. <b>w3schools <span class="a">.com</span></b> Otherwise, if you click on '.com' you Will not be redirected to the link.
19th Mar 2019, 10:32 PM
Jorge
Jorge - avatar