DEV Community

Vishal Yadav
Vishal Yadav

Posted on

How to remove the <a></a> tag color and underline

a{
all:unset;
text-decoration:none;
}
Enter fullscreen mode Exit fullscreen mode
  1. all:unset this property is used in anchor tag to remove the color from the anchor tag sentence.
  2. text-decoration:none; this property is used to remove the underline from the sentence.

Top comments (1)

Collapse
 
carnato profile image
Vishal Yadav

Okay sir 😊 for correction