• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hyperlink

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

i saw some hyperlink like below

<a href="#"> or <a href=".">
...when i click the link,it takes me to the login page..surprise!!

it is not showing any error...

please anyone can explain me

thanks & regards,
seetharaman.v
[ April 15, 2008: Message edited by: Bear Bibeault ]
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a question about HTML, and would be better placed in our HTML forum. Please remember to carefully choose your forum.
An anchor tag with a "#" is a fragment identifier, a link within a document (our own Struts FAQ is full of them). Of course, if it doesn't have a label after the "#" and a matching label somewhere else in the document, it isn't going to link anywhere.
I'd expect an anchor containing only "." to be a self-reference.
Where did you find these examples?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic