Hi Naveen,

Sure you can for named anchors with document fragment identifiers, but AFAIK
all modern browsers (and I'm not sure which ones if any didn't) support the
use of using *any* HTML element to link to using a doc frag ID.

For example the URL:

http://www.example.com#contact

could link to:

<a id="contact" />

or straight to the relevant header:

<h2 id="contact">Contact</h2>

Cheers,

Nathanael Boehm

Freelance web user interaction designer

UX · IxD · UI design · Prototyping · HTML · CSS · JS · Usability ·
Accessibility · Social media

Imagine Innovation · UXnet Canberra · OpenAustralia · BarCampCanberra

www.purecaffeine.com <http://www.purecaffeine.com/about/>

Canberra, Australia

0409 288 464


On Tue, Oct 27, 2009 at 2:03 PM, Naveen Bhaskar <naveenbhas...@live.in>wrote:

>  hi ,
>
> could anyone tell me whether an anchor tag can be used without href
> according to webstandads?
>
>   <a  id="rateme" ><img src="somepath" alt=""></a>
>
>
>  ------------------------------
>
> Thanks and regards
>
> Naveen Bhaskar
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> *******************************************************************


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to