W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: HTML5 differences from HTML4 editor's draft

From: Johannes Lichtenberger <jl@nabooisland.com>
Date: Sun, 24 Jun 2007 20:20:22 +0200
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: HTML WG <public-html@w3.org>
Message-Id: <200706242020.22413.jl@nabooisland.com>

On Sunday, 24. June 2007 19:01:09 Lachlan Hunt wrote:
> Johannes Lichtenberger wrote:
> >> http://dev.w3.org/cvsweb/~checkout~/html5/html4-differences/Overview.htm
> >>l
> >
> > I don't really understand what "The a element without an href attribute
> > now represents a "placeholder link"." means, I can't really imagine what
> > a placeholder link should be or what it's used for.
>
> It just means that it's where a link would ordinarily be, but currently
> isn't.  For example:
>
> <menu>
>    <li><a href="/">Home</a>
>    <li><a>Products</a>
>    <li><a href="/services">Services</a>
>    <li><a href="/about">About</a>
> </menu>
>
> In this example, Products is a place holder link to the current page.
> It's a way keep the menu the same, without actually linking to the
> current page.

I'm not sure if it's a difference to HTML4 , the recommodation only 
states "Authors may also create an A element that specifies no anchors, i.e., 
that doesn't specify href,  name, or id. Values for these attributes may be 
set at a later time through scripts.". It seems an a-element without 
attributes in HTML4 hasn't got a special "name" and in my Opionion it's not 
really a link or "placeholder link", I don't think it needs a special name. 

greetings,
Johannes
Received on Sunday, 24 June 2007 18:20:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:45 UTC