Bug #7183 [Opn]: <a> tag cannot be self-closing
| From: | dufuz@php.net | Date: | Tue, 06 Jun 2006 19:53:03 +0000 |
| Subject: | Bug #7183 [Opn]: <a> tag cannot be self-closing | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5074@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=7183&edit=1
ID: 7183
Updated by: dufuz@php.net
Reported By: pecl-bugs-2006 at ryandesign dot com
Status: Open
Id: 7183
Type: Bug
Package: Web Site
Operating System: Mac OS X 10.4.5 PPC
PHP Version: Irrelevant
New Comment:
That's valid accourding to the w3c checker, so I think Safari is broken
if anything.
IIRC you can close tags like that in HTML if you don't have any content
to put in but I might be wrong on that, but heck our page even validates
with XHTML 1.1, which is very strict.
Previous Comments:
------------------------------------------------------------------------
[2006-03-23 10:07:43] pecl-bugs-2006 at ryandesign dot com
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 this bug report at http://pear.php.net/bugs/bug.php?id=7183&edit=1