W3C home > Mailing lists > Public > www-html@w3.org > February 2000

javascript scheme in href URLs

From: Simon St.Laurent <simonstl@simonstl.com>
Date: Tue, 8 Feb 2000 10:30:54 -0500 (EST)
Message-Id: <200002081530.KAA13261@hesketh.net>
To: www-html@w3.org
I can't find any express prohibition of:

<a href="javascript:myFunction()">

in HTML 4.01 or in XHTML 1.0.  The references for URL and URI date back to
1994 and 1995, and don't make reference of this technique.  Is this
officially discouraged in favor of the event attributes?  

I seem to think it is, but can't find a clear statement to that effect.

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
Building XML Applications
Inside XML DTDs: Scientific and Technical
Cookies / Sharing Bandwidth
Received on Tuesday, 8 February 2000 12:00:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:52 UTC