W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2005

Re: adding title tag to text based link

From: Marjolein Katsma <iamback4now@yahoo.com>
Date: Tue, 19 Jul 2005 01:05:38 -0700 (PDT)
Message-ID: <20050719080538.67948.qmail@web30007.mail.mud.yahoo.com>
To: w3c-wai-ig@w3.org

--- David Woolley <david@djwhome.demon.co.uk> wrote:

> > EG: <a href="#" title="example link">example link</a>
> 
> Please don't give examples of this bad practice (common symptom
> is dead links because the page only works with scripting present
> and enabled and compatible with the browser).  href should always
> be a vaid URL that leads to the correct place (or at least to
> a page that achieves the effect of the scripting without using
> scripting).
> 
> In any case, are empty fragment names allowed?

According to the RFC (2396) yes:

Syntax:
- (section 4):
  URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
- (section 4.1):
  fragment      = *uric
(that's zero or more uri characters)

Given this syntax it's perfectly valid to have a URI reference
consisting of nothing but a #.

http://www.ietf.org/rfc/rfc2396.txt



--
Marjolein Katsma
Travel blog: http://iamback.com/blog/
Report spam: http://banspam.javawoman.com/report3.html
Skype: callto://goneagain


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
Received on Tuesday, 19 July 2005 08:05:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:22 GMT