Re: adding title tag to text based link

> --- 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

To be honest I was only using it as an example of a title and I don't
code HREF's like that, I knew someone would have to point it out
though!


On 7/19/05, Marjolein Katsma <iamback4now@yahoo.com> wrote:
> 
> --- 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
> 
> 
> 


-- 
-----------------------------------------------------

Paul Collins
Ph: +44 (0) 793 9038 249 (UK)
pauldcollins@gmail.com

Received on Tuesday, 19 July 2005 08:40:59 UTC