Bug #7183 [NEW]: <a> tag cannot be self-closing
| From: | pecl-bugs-2006 at ryandesign dot com | Date: | Thu, 23 Mar 2006 15:07:45 +0000 |
| Subject: | Bug #7183 [NEW]: <a> tag cannot be self-closing | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-4922@lists.php.net to get a copy of this message | ||
From: pecl-bugs-2006 at ryandesign dot com
Operating system: Mac OS X 10.4.5 PPC
PHP version: Irrelevant
Package: Web Site
Bug Type: Bug
Bug description: <a> tag cannot be self-closing
Description:
------------
The source code of many (most? all?) pages on pecl.php.net
contains this near the top:
<div>
<a id="TOP" />
</div>
That's not permissible. It must read:
<div>
<a id="TOP"></a>
</div>
Doing it your way breaks Safari, which then considers the
<a> tag to never have been closed, and causes all normal
text throughout the rest of the page to be inside an <a> and
to participate in ridiculous onmouseover effects like
turning pink when you click anywhere on the page.
--
Edit bug report at http://pecl.php.net/bugs/bug.php?id=7183&edit=1
--