remove line in a tag code example Example 1: remove underline anchor tag { text-decoration: none; } Example 2: remove underline in anchor tag text-decoration:none;