0
What's wrong with the following code?
a href="https://rawishpaul.com"> <span> <a href="#">Click me!</a> </span> </a>
2 Answers
+ 6
There's no need for nesting hyperlink here, the text between <a> and </a> is the text for the hyperlink, normally it is shown with underlined effect unless it is styled with CSS. Remove <a href="#"> before and the </a> following the "Click me!" and it will work.
Hth, cmiiw
0
The anchor (a) tag in the code you pasted in is missing the first <. Also you do not want another nested anchor tag within the first: anchor, span, your content, close span, close anchor.