I recently encountered an issue with my HTML file where the text "Indian" became underlined after saving the file. Here is the code snippet:
<a href="file:///G:\work files\project\indian.html" target="_blank">
<div class="button-1">
Indian
</div>
</a>
My inquiry is: are there any specific CSS or HTML tags or rules that can be used to remove this underline?
I have ensured that the <div>
element is nested within the <a>
tag, so I am puzzled by why the text inside the <div>
is being underlined.