REC-DOM-Level-1-19981001
8.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Generated: Thu Oct 1 12:20:36 MET DST 1998 -->
<html lang='en'>
<head>
<title>Document Object Model (DOM) Level 1 Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000EE" vlink="#551A8B">
<h3 align='right'>
<a href='http://www.w3.org/'> <img src='./images/w3c_home.gif' width='72' height='48' align='left' alt='W3C' border='0' hspace='0'></a>
REC-DOM-Level-1-19981001</h3><br>
<h1 align='center'>Document Object Model (DOM) Level 1 Specification</h1>
<h3 align=center>Version
1.0</h3>
<!--h3 align=center>REC-DOM-Level-1-19981001</h3-->
<h3 align=center>W3C Recommendation <i>1 October, 1998</i></h3>
<dl><dt><b>This version</b></dt>
<dd><a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001'>
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001</a></dd>
<dd><a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.ps'>
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.ps</a></dd>
<dd><a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.pdf'>
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.pdf</a></dd>
<dd><a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.tgz'>
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.tgz</a></dd>
<dd><a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.zip'>
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.zip</a></dd>
<dd><a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.txt'>
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.txt</a></dd>
<dt><b>Latest version</b></dt>
<dd><a href='http://www.w3.org/TR/REC-DOM-Level-1'>http://www.w3.org/TR/REC-DOM-Level-1</a></dd>
<dt><b>Previous versions</b></dt>
<dd><a href='http://www.w3.org/TR/1998/PR-DOM-Level-1-19980818'>
http://www.w3.org/TR/1998/PR-DOM-Level-1-19980818</a></dd>
<dd><a href='http://www.w3.org/TR/1998/WD-DOM-19980720'>
http://www.w3.org/TR/1998/WD-DOM-19980720</a></dd>
<dd><a href='http://www.w3.org/TR/1998/WD-DOM-19980416'>
http://www.w3.org/TR/1998/WD-DOM-19980416</a></dd>
<dd><a href='http://www.w3.org/TR/WD-DOM-19980318'>
http://www.w3.org/TR/WD-DOM-19980318</a></dd>
<dd><a href='http://www.w3.org/TR/WD-DOM-971209'>
http://www.w3.org/TR/WD-DOM-971209</a></dd>
<dd><a href='http://www.w3.org/TR/WD-DOM-971009'>
http://www.w3.org/TR/WD-DOM-971009</a></dd>
</dl>
<dl><dt><b>WG Chair</b></dt>
<dd>Lauren Wood,
<i>SoftQuad, Inc.</i></dd>
<dt><b>Editors</b></dt>
<dd>Vidur Apparao,
<i>Netscape</i></dd>
<dd>Steve Byrne,
<i>Sun</i></dd>
<dd>Mike Champion,
<i>ArborText</i></dd>
<dd>Scott Isaacs,
<i>Microsoft</i></dd>
<dd>Ian Jacobs,
<i>W3C</i></dd>
<dd>Arnaud Le Hors,
<i>W3C</i></dd>
<dd>Gavin Nicol,
<i>Inso EPS</i></dd>
<dd>Jonathan Robie,
<i>Texcel Research</i></dd>
<dd>Robert Sutor,
<i>IBM</i></dd>
<dd>Chris Wilson,
<i>Microsoft</i></dd>
<dd>Lauren Wood,
<i>SoftQuad, Inc.</i></dd>
<dt><b>Principal Contributors</b></dt>
<dd>Vidur Apparao,
<i>Netscape</i></dd>
<dd>Steve Byrne,
<i>Sun (until November 1997)</i></dd>
<dd>Mike Champion,
<i>ArborText, Inc.</i></dd>
<dd>Scott Isaacs,
<i>Microsoft (until January, 1998)</i></dd>
<dd>Arnaud Le Hors,
<i>W3C</i></dd>
<dd>Gavin Nicol,
<i>Inso EPS</i></dd>
<dd>Jonathan Robie,
<i>Texcel Research</i></dd>
<dd>Peter Sharpe,
<i>SoftQuad, Inc.</i></dd>
<dd>Bill Smith,
<i>Sun (after November 1997)</i></dd>
<dd>Jared Sorensen,
<i>Novell</i></dd>
<dd>Robert Sutor,
<i>IBM</i></dd>
<dd>Ray Whitmer,
<i>iMall</i></dd>
<dd>Chris Wilson,
<i>Microsoft (after January, 1998)</i></dd>
</dl><a name='id-230738542'></a>
<h2>Status of this document</h2>
<div class='status'>
<p>This document has been reviewed by W3C Members and other interested
parties and has been endorsed by the Director as a W3C Recommendation. It
is a stable document and may be used as reference material or cited as a
normative reference from another document. W3C's role in making the
Recommendation is to draw attention to the specification and to promote
its widespread deployment. This enhances the functionality and
interoperability of the Web.<p>The authors of this document are the DOM Working Group members,
different chapters may have different editors.<p>Comments on this document should be sent to the public mailing list
<a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>.<p>A list of current W3C Recommendations and other technical documents
can be found at <a href='http://www.w3.org/TR'>http://www.w3.org/TR</a>.<h3>Errata</h3>
<p> The list of known errors in this document is found at
<a href='http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html'>http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html</a>.<h3>Available Languages</h3>
<p>The English version of this specification is the only normative
version. However, for translations in other languages see <a href='http://www.w3.org/DOM/updates/REC-DOM-Level-1-translations.html'>http://www.w3.org/DOM/updates/REC-DOM-Level-1-translations.html</a>.</p></div>
<a name='id-622015212'></a>
<h2>Abstract</h2>
<div class='abstract'>
<p>This specification defines the Document Object Model Level 1, a
platform- and language-neutral interface that allows
programs and scripts to dynamically access and update the
content, structure and style of documents. The Document Object
Model provides a standard set of objects for representing HTML
and XML documents, a standard model of how these objects can
be combined, and a standard interface for accessing and
manipulating them. Vendors can support the DOM as an interface
to their proprietary data structures and APIs, and content
authors can write to the standard DOM interfaces rather than
product-specific APIs, thus increasing interoperability on the
Web.<p>The goal of the DOM specification is to define a programmatic
interface for XML and HTML. The DOM Level 1 specification is separated
into two parts: Core and HTML. The Core DOM Level 1
section provides a low-level set of fundamental interfaces that can
represent any structured document, as well as defining extended interfaces
for representing an XML document. These extended XML interfaces need not be
implemented by a DOM implementation that only provides access to
HTML documents; all of the fundamental interfaces in the Core
section must
be implemented. A compliant DOM implementation that implements the
extended XML
interfaces is required to also implement the fundamental Core
interfaces, but not the HTML interfaces.
The HTML Level 1 section provides additional, higher-level
interfaces that are used with the fundamental interfaces defined in
the Core Level 1 section to provide a more convenient
view of an HTML document.
A compliant implementation of the HTML DOM implements all
of the fundamental Core interfaces as well as the
HTML interfaces.
</p></div>
<p><h2>Table of contents</h2>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref' href='copyright-notice.html'>Copyright Notice</a></li>
<li class='tocline2'><a class='tocxref' href='introduction.html'>What is the Document Object Model?</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='level-one-core.html'>Chapter 1: Document Object Model (Core) Level 1</a></li>
<li class='tocline2'><a class='tocxref' href='level-one-html.html'>Chapter 2: Document Object Model (HTML) Level 1</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='contributors.html'>Appendix A: Contributors</a></li>
<li class='tocline2'><a class='tocxref' href='glossary.html'>Appendix B: Glossary</a></li>
<li class='tocline2'><a class='tocxref' href='idl-definitions.html'>Appendix C: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref' href='java-language-binding.html'>Appendix D: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref' href='ecma-script-language-binding.html'>Appendix E: ECMA Script Language Binding</a></li>
<li class='tocline2'><a class='tocxref' href='references.html'>References</a></li>
<li class='tocline2'><a class='tocxref' href='def-index.html'>Index</a></li>
<li class='tocline2'><a class='tocxref' href='production-notes.html'>Production Notes (Non-Normative)</a></li>
</ul>
</body>
</html>