Re: remembering where the user is on the page??

From: Date: Sat, 02 Aug 2008 17:06:51 +0000
Subject: Re: remembering where the user is on the page??
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-277625@lists.php.net to get a copy of this message
brian wrote:
A better way to do that is to give some block element--a header, a div, etc.--an ID. That works exactly the same as <a name="...">.
It should work the same. But it doesn't in older user agents or with older assistive technology: http://stevenclark.com.au/2008/07/11/named-anchors-and-skip-navigation/
I *suspect* that the <a name=""> thing is deprecated, even.
Not in HTML: http://www.w3.org/TR/REC-html40/struct/links.html#adef-name-A It's deprecated in XHTML 1.0 (i.e. it's valid to use): http://www.w3.org/TR/xhtml1/#h-4.10 It's removed in XHTML 1.1 (i.e. it's not valid to use): http://www.w3.org/TR/xhtml11/changes.html#a_changes Its removal from XHTML isn't particularly relevant to most web authors, as Trident (and hence both IE and older assistive technology that only supports IE) doesn't support XHTML except when served as text/html (i.e. tag soup), XHTML 1.0 has no advantages when served as tag soup, and XHTML 1.1 must not be served as text/html. ;) -- Benjamin Hawkes-Lewis

« previous php.general (#277625) next »