Click here to Skip to main content
15,894,095 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
<!Doctype html>



<a name="my"></a>
<p>......</p>
<a href="#my">click</a>


What I have tried:

HTML
<!Doctype html>



<a name="my"></a> /*even after removing this the below click link is working*/
<p>......</p>
<a href="#my">click</a>
Posted
Updated 27-Dec-17 2:36am
v2

Just clear cache of your browser and remove temp files and test again.
 
Share this answer
 
<a name="my"></a>

In above a tag empty between a tag then how it will work..give some text between a tag then check like
<a name="my">test</a>
.and also a "href" is missing then how anchor tag will work?Give
<a href="test">test</a>
like this..it will work.Here i don't use of
name="my"
for a tag if don't want remove.Just apply like this
<a href="test">test</a>
.It will work..All the best..
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900