<a href="#" ...> not handled as link

David Faure faure at kde.org
Thu Oct 14 23:28:24 BST 2004


On Thursday 14 October 2004 23:26, André Wöbbeking wrote:
> Hi,
> 
> on a site I found something like
> 
> <a href="#" onClick="window.open('...')"/>Text</a>

Do you really mean /> before Text?
This closes the a tag (HTML is like XML, <a/> means the a is closed).
The bug is in the HTML, that "/" shouldn't be there.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list