+ 7
hiding a u tag
how do u hide a u tag do you use html or css or js
9 Answers
+ 9
Can You Elaborate Little More!!!
+ 3
I think that what you are searching for is the CSS visibility property https://www.sololearn.com/learn/CSS/1113/
+ 2
look at this and you will understand what i me
https://code.sololearn.com/W2SwknROZXuE/?ref=app
+ 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;
}
+ 2
ok but what if i want to get rid of the underline but have .com in green how do i do that
+ 2
Then you should assign "text-decoration: none;" to the <a> tag, instead of <u>
+ 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
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.