Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

The "a name" html tag does not work in Firefox.

more options

The tag works in all versions of Internet Explorer, but does not work in Firefox versions 3, 4, 5, 10, 11, 12.

The tag works in all versions of Internet Explorer, but does not work in Firefox versions 3, 4, 5, 10, 11, 12.

All Replies (6)

more options

Do you mean that when you click a link coded to go to that anchor, the browser does not navigate accurately or at all? Can you give an example of a page where this happens?

By the way, in modern browsers you can navigate to an id instead, e.g.,


<h3 id="topic2">Second Topic</h3>

instead of


<a name="topic2"></a><h3>Second Topic</h3>
more options

Correct, does not navigate to it at all.

I tried both the "id" and the "name" tag.

<a name="linkname"> and <p id="linkname"> Neither work in Firefox both work in IE.

more options

I haven't noticed any problems on most pages, but I have read about a problem where a script changes the length of the page content after loading (e.g., by collapsing content under headings, done on some FAQ or glossary pages).

For example, this should position the browser at the Reset Printer section:

http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer


A standard diagnostic step is to try Firefox's Safe Mode to see whether an odd behavior is caused by a custom setting or add-on.

First, I recommend backing up your Firefox settings in case something goes wrong. See Back up and restore information in Firefox profiles. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)

Next, restart Firefox in Diagnose Firefox issues using Troubleshoot Mode using

Help > Restart with Add-ons Disabled

In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."

If links work correctly in Safe Mode, that usually points to an add-on or custom setting as the problem.

Let us know whether that makes any difference.

more options

Safe Mode did not work.

Could you send me a page that you say it works on?

Modified by cor-el

more options

This page (link to your post above this reply)

Modified by cor-el

more options

I've noticed that if you have a hash tag on your 'name' link then it doesn't work in FF ... remove it and it works!

So <a name="#mylink"> doesn't work but <a name="mylink"> does.