<A name="..."...> in Netscape

Posted on 2002-04-27
Last Modified: 2010-04-09
Hi All,
 I have a giant form in my HTML, which is generated dynamically by a JSP. The page is divided into many blocks (tables), and links at the top of the page for each of these blocks.
 I am using <a name="1"> etc. for the links. They are working fine in IE, but in @#$#$ Netscape, nothing happens when the link is clicked on. I have tried with quotes, without quotes, with # in name without # in name.. nothing works! any pointers?
Question by:ananth222
LVL 51

Accepted Solution

ahoffmann earned 100 total points
ID: 6973004
are the <a name ..> tags inside the table, then it will not work (on some browsers) 'cause it's not w3c standard :-(
LVL 12

Expert Comment

ID: 6973135
name should not begin with a numeral.
Try <a name="a1">
LVL 18

Expert Comment

ID: 6973400
how are you linking to it?

should be

<a href="#1">topic 1</a>

not sure about the number thing?  haven't heard that before, but i've never used numbers in the name tag i don't think.....

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

LVL 22

Expert Comment

ID: 6973507
ahosang is right. No object, tag or variable should ever start with a number. It's one of the rules in programming ;-)


Author Comment

ID: 6974767
I had given the <a name...> tag inside a <tr> but outside <td>! I put it inside the <td> and it now works fine!!
danke hoffmann!
Nice points from the others too, but I guess numbers do work here...
LVL 51

Expert Comment

ID: 6975289
according to w3c, name= and id= must start with a letter, so CJ_S is right too.
Auch danke ;-)


Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now