Reply to Re: does Opera have an issue with <href="#"> ....?

Your name:

Reply:


Posted by Jukka K. Korpela on 03/25/07 14:15

Scripsit Toby A Inkster:

> Or that a link such as '<a href="#">' is not *supposed* to do anything
> according to RFC 1738, which states that the fragment identifier is
> *after* the hash character, so the link is equivalent to '<a
> href="">' which is equivalent to '<a>', so shouldn't do anything. :-)

As regards to generic URL (URI) syntax, which is what your statement is
about, RFC 1738 was obsoleted in August 1998 by RFC 2396, which itself was
obsoleted by RFC 3986 in January 2005.

By the specifications, <a href="#"> is indeed equivalent to <a href="">, but
this in turn is not dummy but "same-document reference", a link to the
document itself, and normally interpreted as referring to the _start_ of
document.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация