Strictly speaking, inline code is code that is embedded into the page in some enclosing <SCRIPT></SCRIPT> tags. However, some code can be included from an external file using the SRC attribute. This code is not inline code because it no longer lives in the page. However, when the page is loaded, it executed inline as if it had been part of the page all the time.
You may find yourself arguing over the fine points of whether included code is in-line code, but to the browser it simply does not matter.
See also: | <SCRIPT ARCHIVE="...">, <SCRIPT SRC="..."> |
Prev | Home | Next |
Initialization | Up | Inline tags |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |