DEV Community

Vishal Yadav
Vishal Yadav

Posted on

2 1

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

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs