0% found this document useful (0 votes)
90 views2 pages

JavaScript DOM Objects Overview

JavaScript allows you to access and manipulate all HTML DOM objects. The HTML DOM defines a standard set of objects for HTML that provides a standard way to access and change HTML documents using JavaScript. All HTML elements and their contents can be accessed through the DOM. Common objects include the Document, Window, Location, History, and various form elements that can be targeted and have their properties and events controlled.

Uploaded by

BaneeIshaqueK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views2 pages

JavaScript DOM Objects Overview

JavaScript allows you to access and manipulate all HTML DOM objects. The HTML DOM defines a standard set of objects for HTML that provides a standard way to access and change HTML documents using JavaScript. All HTML elements and their contents can be accessed through the DOM. Common objects include the Document, Window, Location, History, and various form elements that can be targeted and have their properties and events controlled.

Uploaded by

BaneeIshaqueK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

JavaScript HTML DOM Objects

In addition to the built-in JavaScript objects, you can also access and manipulate all
o the HTML DOM objects !ith JavaScript"
More JavaScript Objects
#ollo! the lin$s to learn more about the objects and their collections, properties, methods and
events"
Object Description
%indo! The top level object in the JavaScript hierarchy" The %indo! object
represents a bro!ser !indo!" & %indo! object is created automatically
!ith every instance o a 'body( or 'rameset( ta)
*avi)ator +ontains inormation about the client,s bro!ser
Screen +ontains inormation about the client,s display screen
History +ontains the visited -.Ls in the bro!ser !indo!
Location +ontains inormation about the current -.L
The HTML DOM
The HTML DOM is a %/+ standard and it is an abbreviation or the Document Object Model or
HTML"
The HTML DOM deines a standard set o objects or HTML, and a standard !ay to access and
manipulate HTML documents"
&ll HTML elements, alon) !ith their containin) te0t and attributes, can be accessed throu)h the
DOM" The contents can be modiied or deleted, and ne! elements can be created"
The HTML DOM is platorm and lan)ua)e independent" It can be used by any pro)rammin)
lan)ua)e li$e Java, JavaScript, and 12Script"
#ollo! the lin$s belo! to learn more about ho! to access and manipulate each DOM object !ith
JavaScript3
Object Description
Document .epresents the entire HTML document and can be used to access all
elements in a pa)e
&nchor .epresents an 'a( element
&rea .epresents an 'area( element inside an ima)e-map
2ase .epresents a 'base( element
2ody .epresents the 'body( element
2utton .epresents a 'button( element
4vent .epresents the state o an event
#orm .epresents a 'orm( element
#rame .epresents a 'rame( element
#rameset .epresents a 'rameset( element
Irame .epresents an 'irame( element
Ima)e .epresents an 'im)( element
Input button .epresents a button in an HTML orm
Input chec$bo0 .epresents a chec$bo0 in an HTML orm
Input ile .epresents a ileupload in an HTML orm
Input hidden .epresents a hidden ield in an HTML orm
Input pass!ord .epresents a pass!ord ield in an HTML orm
Input radio .epresents a radio button in an HTML orm
Input reset .epresents a reset button in an HTML orm
Input submit .epresents a submit button in an HTML orm
Input te0t .epresents a te0t-input ield in an HTML orm
Lin$ .epresents a 'lin$( element
Meta .epresents a 'meta( element
Option .epresents an 'option( element
Select .epresents a selection list in an HTML orm
Style .epresents an individual style statement
Table .epresents a 'table( element
TableData .epresents a 'td( element
Table.o! .epresents a 'tr( element
Te0tarea .epresents a 'te0tarea( element

You might also like