Topic: a name= not XHTML compliant? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=23723" title="Pages that link to Topic: a name= not XHTML compliant? (Page 1 of 1)" rel="nofollow" >Topic: a name= not XHTML compliant? <span class="small">(Page 1 of 1)</span>\

 
Schitzoboy
Paranoid (IV) Inmate

From: Yes
Insane since: Feb 2001

posted posted 10-19-2004 23:27

I'm working on a glossary type page with lots of a name="term" tags that I can link to from other pages. However these tags arn't validating XHTML1.1 ?! Is there a new way to go about this?

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 10-19-2004 23:33

The Changes ( in XHTML 1.1 ) from XHTML 1.0 Strict are clear on the removal of the name attribute. But, you can use the id to create some named anchors.



(Edited by poi on 10-19-2004 23:34)

liorean
Bipolar (III) Inmate

From: Umeå, Sweden
Insane since: Sep 2004

posted posted 10-20-2004 00:03

Actually, XHTML1.0 started out by the demand that only id should be treated as a fragment identifier. The removal of the name attribute in all cases where it was used as a fragment identifier is just a logical consequence. Note that the name attribute is not removed for form controls, as it served another purpose there.

--
var Liorean = {
prototype: HTMLGuru.prototype,
abode: "http://liorean.web-graphics.com/",
profile: "http://codingforums.com/member.php?u=5798"};

Schitzoboy
Paranoid (IV) Inmate

From: Yes
Insane since: Feb 2001

posted posted 10-20-2004 01:39

Changing all my names= to id= worked great! Thanks. I'll have to get outta that habbit.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu