Laurie Davis-Covin wrote:
> Initially, the style was <a name="" id="">subject</a>   HTML Tidy 
> doesn't seem to condone that.

Depends on what HTML Tidy is _set up_ to do.
An example like the following...

<a name="test" id="test">subject</a>

...passes fine at my end. It is however easy to set up Tidy to *not*
accept, or to change, whatever - also perfectly valid use of elements
and attributes.


For use of anchors as a "section-target" in documents:

- The 'name' on anchors is replaced by 'id'.
- Only very old and obsolete browsers may not understand/support 'id' on
anchors.
- When 'id' and 'name' are used on the same element, they must be
identical in every respect.
- An 'id' can be used as "section-target" on practically any element,
which makes use of anchors as "section-targets" a bit obsolete today.

More: <http://www.w3.org/TR/html4/struct/links.html#h-12.2.3>

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to