How to make a link non-underline | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How to make a link non-underline

Hey guys! I just wonder if you could help me with this problem. I want to make a link in HTML but without any underline❤️

3rd Jul 2018, 6:01 PM
Hosein Khoojooyan
Hosein Khoojooyan - avatar
8 Answers
+ 7
Hi Hosein Khoojooyan To make a link not underlined you need to use CSS external CSS (example with class name link) .link { text-decoration: none; } Here is the lesson on the last page: https://www.sololearn.com/learn/CSS/1109/
3rd Jul 2018, 6:07 PM
Agent
Agent - avatar
+ 3
Type this in css file a { text-decoration: none; } If you want directly in HTML: <a href="#" style="text-decoration: none">Link</a>
3rd Jul 2018, 6:07 PM
Sad
Sad - avatar
+ 3
Use css text-decoration prop CSS: #myLink{ text-decoration:none; } HTML: <a id="myLink" href="http://www.google.it">Google</a>
3rd Jul 2018, 6:08 PM
KrOW
KrOW - avatar
+ 3
Thank you very much💙
3rd Jul 2018, 6:09 PM
Hosein Khoojooyan
Hosein Khoojooyan - avatar
+ 2
Aria in html using internal CSS I call the "a" attribute a{text-decoration:none;color:teal} I can also change the color a{color:teal;} the text decoration color can also be changed {text-decoration-color:blue}
4th Jul 2018, 7:22 AM
Cyber5
Cyber5 - avatar
+ 1
give its text-decoration:none in css style
4th Jul 2018, 12:06 PM
Arsh Cheema
Arsh Cheema - avatar
+ 1
a{ text-decoration:none }
4th Jul 2018, 2:14 PM
Mario Maher
Mario Maher - avatar
0
Guys please give 5 upvote to my question😂🙏😔
4th Jul 2018, 12:25 PM
Hosein Khoojooyan
Hosein Khoojooyan - avatar