| |
The charter of the Document Object Model is to specify an interface for use with HTML
, XML
and CSS
(Cascading Style Sheets)
in a way that will be useful to the application developers and Web page authors, and that will be interoperable. The basics of the script or application will be the same whether you use JavaScript, VBScript, Java, or Scheme. The interface should be flexible enough to allow for uses that we can't yet see, as well as those that we already know. We already know the world has started using "dynamic HTML
" in various flavours: to do client-side manipulation of the page, to get information from a database onto the page, to tell the reader of the page when some form input field has been incorrectly filled out. Up until now, only the most basic scripts have been interoperable in the two major HTML
browsers. This puts a great burden on Web authors to make sure that their scripts work on all platforms and all browsers. In designing a general interface, we're putting the burden onto the browser and editor vendors. If they support the DOM
, applications written using this interface will work without vast amounts of code to find out which browser the reader is using. |