[thelist] JavaScript - linking v. embedding

Andrew Clover and-evolt at doxdesk.com
Thu Jun 10 20:56:46 CDT 2004


Amy <amyrynne at comcast.net> wrote:

> I recently read that the "embed element is deprecated in XHTML 1.0" and that
> there is "currently no option that uses the embed element and includes both
> cross-browser compatibility and web standards compliance."

That is correct. However, script embedding is generally done with the 
<script> element, not <embed>; it is this usage we're discussing.

(It is a bit of a wart that script linking is also done with the 
<script> element, but the proposed <link rel="script"> - preferable in 
my view - somehow never caught on with the browser manufacturers.)

-- 
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/


More information about the thelist mailing list