Rev. Kalle Räisänen wrote: > Thierry Koblentz wrote: >> Minh D. Tran wrote: >>> oh duh! why didn't i think of that. Thanks! >> >> Actually, I believe you should use both (id *and* name). > > Not in XHTML 1.1, where name doesn't exist. And it's deprecated in > XHTML > 1.0, so you shouldn't use it there either.
I know the validator would complain about the name attribute in applet, form, img elements etc. but as far as I know there is no issue with A elements. I use "name" all the time with my jump links because I consider this "best practice" as it offers better browser compatibility and "richer" anchor names. And my pages *validate* XHTML 1.0 Strict. --- Regards, Thierry | www.TJKDesign.com ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
