JavaScript HTML DOM Objects
In addition to the built-in JavaScript objects, you can also access and manipulate all of the HTML DOM objects
with JavaScript.
More JavaScript Objects
Follow the links to learn more about the objects and their collections,
properties, methods and events.
| Object |
Description |
| Window |
The top level object in the JavaScript hierarchy. The
Window object represents a browser window. A Window object is created
automatically with every instance of a <body> or <frameset> tag |
| Navigator |
Contains information about the client's browser |
| Screen |
Contains information about the client's display screen |
| History |
Contains the visited URLs in the browser window |
| Location |
Contains information about the current URL |
The HTML DOM
The HTML DOM is a W3C standard and it is an abbreviation for the Document
Object Model for HTML.
The HTML DOM defines a standard set of objects for HTML, and a standard way
to access and manipulate HTML documents.
All HTML elements, along with their containing text and attributes, can be
accessed through the DOM. The contents can be modified or deleted, and new
elements can be created.
The HTML DOM is platform and language independent. It can be used by any
programming language like Java, JavaScript, and VBScript.
Follow the links below to learn more about how to access and manipulate each
DOM object
with JavaScript:
| Object |
Description |
| Document |
Represents the entire HTML document and can be used to
access all elements in a page |
| Anchor |
Represents an <a> element |
| Area |
Represents an <area> element inside an image-map |
| Base |
Represents a <base> element |
| Body |
Represents the <body> element |
| Button |
Represents a <button> element |
| Event |
Represents the state of an event |
| Form |
Represents a <form> element |
| Frame |
Represents a <frame> element |
| Frameset |
Represents a <frameset> element |
| Iframe |
Represents an <iframe> element |
| Image |
Represents an <img> element |
| Input button |
Represents a button in an HTML form |
| Input checkbox |
Represents a checkbox in an HTML form |
| Input file |
Represents a fileupload in an HTML form |
| Input hidden |
Represents a hidden field in an HTML form |
| Input password |
Represents a password field in an HTML form |
| Input radio |
Represents a radio button in an HTML form |
| Input reset |
Represents a reset button in an HTML form |
| Input submit |
Represents a submit button in an HTML form |
| Input text |
Represents a text-input field in an HTML form |
| Link |
Represents a <link> element |
| Meta |
Represents a <meta> element |
| Option |
Represents an <option> element |
| Select |
Represents a selection list in an HTML form |
| Style |
Represents an individual style statement |
| Table |
Represents a <table> element |
| TableData |
Represents a <td> element |
| TableRow |
Represents a <tr> element |
| Textarea |
Represents a <textarea> element |
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a free 30-day trial today!
Click to see a demo!
Learn what’s new in v2008
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
|
|