Topic: a name= not XHTML compliant? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Yes |
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? |
Paranoid (IV) Inmate From: France |
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. |
Bipolar (III) Inmate From: Umeå, Sweden |
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. |
Paranoid (IV) Inmate From: Yes |
posted 10-20-2004 01:39
Changing all my names= to id= worked great! Thanks. I'll have to get outta that habbit. |