Re: HTML5 differences from HTML4 editor's draft

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