SlideShare uma empresa Scribd logo
1 de 20
CONTENTS
1.WHAT IS DOCUMENT OBJECT MODEL ?
2.WHERE THE DOM CAME FROM ?
3.HOW THE WEBPAGE IS LOADED AND DISPLAYED?
3.1. THE REQUEST
3.2. THE RESPONSE
3.3. THE PARSING
3.4 THE BUILT
4.WHAT IS NODE ?
5.ADDING SOME TEXT TO A PAGE
6.BEST WAY TO THE GET ELEMENT
7.CONCLUSION
8.REFERENCES
2
What is Document Object Model ?
 Document Object Model (DOM), a programming interface specification
being developed by the World Wide Web Consortium (W3C).
 DOM is the browser’s internal programmatic representation of the
Webpage.
 Can be manipulated by language like JavaScript.
 Set of hierarchical collection of objects/elements.
3
WheretheDocumentObjectModelcamefrom?
"browser wars" of the late 1990s between Netscape Navigator
and Microsoft Internet Explorer.
1996 within Netscape Navigator 2.0
“DOM Level 0" or "Legacy DOM”
W3C in late 1998 - > 2000 introduce.. DOM Level 1 and 2.
2005, large parts of W3C DOM were well-supported
by common ECMAScript-enabled browsers
4
HOWTHEWEBPAGEISLOADEDANDDISPLAYED?
Technically there are four steps of a webpage being displayed
 Request
 Response
 Built
 Render
Each of these steps are often performed several times during a page load.
5
The Request
 The most common way a webpage is requested is when a link is clicked,
but requests also occur when a page is refreshed, or when a url is typed
into a browser.
 The moment when a webpage is requested is also called "navigation
start".
 It is basically the moment where the whole process of displaying a page
begins.
 When a linked is clicked a request is made for a document
6
The Response
 The web server then provides the file to the web browser. The response
is simply the browser receiving the thing it had requested.
 However, most webpages have things like images, videos, flash movies ,
External CSS and External JavaScript file.
 These are called resources and in order to display the webpage the web
browser must get those page resources as well.
7
Parsing
 Translate the HTML into series of recognizable tokens
 The web browser looks at the entire HTML document and looks for any
CSS, JavaScript and images that are referenced by the page.
 The images, CSS, and JavaScript that the HTML file references will be
downloaded by the browser.
 It’s main job is to recognizable token into tree of related object
8
The Build
There are basically three steps that the browser takes to build a page.
 Build the DOM
 Build the CSSOM
 Build the Render Tree
9
Building the DOM
 The Rendering engine will then use that tree of object to determine
where we position element on screen.
 The developer then able to use JavaScript to interact with tree of
related object through number of properties and method
 Each object inherits at the point it was instantiated
10
<!DOCTYPE html>
<html>
<head>
<title>Understanding the Document Object Model</title>
<script type="text/javascript" src="script13.js"></script>
</head>
<body>
<h1 id="title“>Understanding the Document ObjectModel</h1>
<p id="first">This is the first paragraph</p>
<p id="second">
<strong>Second paragraph</strong>
</p>
<p id="third">Third paragraph</p>
<input type="submit" id="clickMe" value="Click Me" />
<a href="http://www.bing.com" id="myAnchor">Bing!</a>
</div>
</body>
</html>
11
Hierarchyof an exampleof DOM
12
13
What is a Node?
The DOM presents documents as a hierarchy of Node objects that also
implement other, more specialized interfaces.
 Element Node – contains an HTML tag
 Text Node – contains text
 Text Nodes are contained in Element Nodes
14
Adding Some Text To A Page
 Create a new Element
[document.createElement(“p”)]
 Create a Text Node
[document.createTextNode(“Some text.”) ]
 Attach the New Text Node to the New Element
[newNode.appendChild(newText)]
 Find an Existing Element
[document.getElementById(“thisLocation”)]
15
Best way to the get Element
getElementById() allows you to work with elements by
their individual id but often you will want to work with a
group of elements
var clickMeButton = document.getElementById('clickMe');
getElementsByTagName() allows you to work with
groups of elements. This method returns an array
16
Early Lifecycle of Web page
17
CONCLUSION
There's much more to the Document Object Model than what's been
covered here. Styles add a whole new dimension to content
presentation and events provide a means to make pages interactive with
the user. But these topics deserve their own discussion. The methods
provided to navigate it and manipulate different types of nodes. This will
give you a solid foundation for dealing with other features of the DOM
18
REFERENCES
1. https://en.wikipedia.org/wiki/Document_Object_Model
2. https://www.youtube.com/watch?v=SmE4OwHztCc
3. https://www.w3c.org/DOM/
4. https://varvy.com/pagespeed/display.html
19
20

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
An Introduction to the DOM
An Introduction to the DOMAn Introduction to the DOM
An Introduction to the DOM
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)
 
Html links
Html linksHtml links
Html links
 
jQuery
jQueryjQuery
jQuery
 
Html
HtmlHtml
Html
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheet
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
 
HTML5
HTML5HTML5
HTML5
 
Angular Directives
Angular DirectivesAngular Directives
Angular Directives
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 
XSLT
XSLTXSLT
XSLT
 
Dom(document object model)
Dom(document object model)Dom(document object model)
Dom(document object model)
 
Html & Css presentation
Html  & Css presentation Html  & Css presentation
Html & Css presentation
 
HTML
HTMLHTML
HTML
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
jQuery
jQueryjQuery
jQuery
 
Dom
Dom Dom
Dom
 

Destaque

DOM ( Document Object Model )
DOM ( Document Object Model )DOM ( Document Object Model )
DOM ( Document Object Model )
ITSTB
 
Document Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 SpecificationDocument Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 Specification
Otakism
 
Overview of XSL, XPath and XSL-FO
Overview of XSL, XPath and XSL-FOOverview of XSL, XPath and XSL-FO
Overview of XSL, XPath and XSL-FO
Suite Solutions
 
JavaScript DOM & event
JavaScript DOM & eventJavaScript DOM & event
JavaScript DOM & event
Borey Lim
 

Destaque (20)

DOM ( Document Object Model )
DOM ( Document Object Model )DOM ( Document Object Model )
DOM ( Document Object Model )
 
Document object model(dom)
Document object model(dom)Document object model(dom)
Document object model(dom)
 
Javascript and DOM
Javascript and DOMJavascript and DOM
Javascript and DOM
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Dom structure
Dom structureDom structure
Dom structure
 
Document Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 SpecificationDocument Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 Specification
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
XML and XPath details
XML and XPath detailsXML and XPath details
XML and XPath details
 
JavaScript and DOM
JavaScript and DOMJavaScript and DOM
JavaScript and DOM
 
HTML Block and Inline Elements
HTML Block and Inline ElementsHTML Block and Inline Elements
HTML Block and Inline Elements
 
Understanding XML DOM
Understanding XML DOMUnderstanding XML DOM
Understanding XML DOM
 
Xpath presentation
Xpath presentationXpath presentation
Xpath presentation
 
Xpath
XpathXpath
Xpath
 
XPath - XML Path Language
XPath - XML Path LanguageXPath - XML Path Language
XPath - XML Path Language
 
XSLT
XSLTXSLT
XSLT
 
Overview of XSL, XPath and XSL-FO
Overview of XSL, XPath and XSL-FOOverview of XSL, XPath and XSL-FO
Overview of XSL, XPath and XSL-FO
 
JavaScript DOM & event
JavaScript DOM & eventJavaScript DOM & event
JavaScript DOM & event
 
學習JavaScript_Dom
學習JavaScript_Dom學習JavaScript_Dom
學習JavaScript_Dom
 
Javascript, DOM, browsers and frameworks basics
Javascript, DOM, browsers and frameworks basicsJavascript, DOM, browsers and frameworks basics
Javascript, DOM, browsers and frameworks basics
 
Xml dom
Xml domXml dom
Xml dom
 

Semelhante a Document Object Model

Javascript projects Course
Javascript projects CourseJavascript projects Course
Javascript projects Course
Laurence Svekis ✔
 
Introduction To Dojo
Introduction To DojoIntroduction To Dojo
Introduction To Dojo
yoavrubin
 
Unlearning and Relearning jQuery - Client-side Performance Optimization
Unlearning and Relearning jQuery - Client-side Performance OptimizationUnlearning and Relearning jQuery - Client-side Performance Optimization
Unlearning and Relearning jQuery - Client-side Performance Optimization
Jon Dean
 
Jquery dojo slides
Jquery dojo slidesJquery dojo slides
Jquery dojo slides
helenmga
 

Semelhante a Document Object Model (20)

Javascript projects Course
Javascript projects CourseJavascript projects Course
Javascript projects Course
 
Web components
Web componentsWeb components
Web components
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Building high performance web apps.
Building high performance web apps.Building high performance web apps.
Building high performance web apps.
 
Introduction To Dojo
Introduction To DojoIntroduction To Dojo
Introduction To Dojo
 
Modern Web Technologies
Modern Web TechnologiesModern Web Technologies
Modern Web Technologies
 
Document object model
Document object modelDocument object model
Document object model
 
Understanding the dom by Benedict Ayiko
Understanding the dom by Benedict AyikoUnderstanding the dom by Benedict Ayiko
Understanding the dom by Benedict Ayiko
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
 
How Browsers Work -By Tali Garsiel and Paul Irish
How Browsers Work -By Tali Garsiel and Paul IrishHow Browsers Work -By Tali Garsiel and Paul Irish
How Browsers Work -By Tali Garsiel and Paul Irish
 
HTML5
HTML5HTML5
HTML5
 
Unlearning and Relearning jQuery - Client-side Performance Optimization
Unlearning and Relearning jQuery - Client-side Performance OptimizationUnlearning and Relearning jQuery - Client-side Performance Optimization
Unlearning and Relearning jQuery - Client-side Performance Optimization
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
Week 05 Web, App and Javascript_Brandon, S.H. Wu
Week 05 Web, App and Javascript_Brandon, S.H. WuWeek 05 Web, App and Javascript_Brandon, S.H. Wu
Week 05 Web, App and Javascript_Brandon, S.H. Wu
 
Jquery dojo slides
Jquery dojo slidesJquery dojo slides
Jquery dojo slides
 
Website designing company in faridabad
Website designing company in faridabadWebsite designing company in faridabad
Website designing company in faridabad
 
Introductory css and j query
Introductory css and j queryIntroductory css and j query
Introductory css and j query
 
Javascript
Javascript Javascript
Javascript
 
INTRODUCTION TO CLIENT SIDE PROGRAMMING
INTRODUCTION TO CLIENT SIDE PROGRAMMINGINTRODUCTION TO CLIENT SIDE PROGRAMMING
INTRODUCTION TO CLIENT SIDE PROGRAMMING
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 

Último

VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Último (20)

VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft DatingDubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
 

Document Object Model

  • 1.
  • 2. CONTENTS 1.WHAT IS DOCUMENT OBJECT MODEL ? 2.WHERE THE DOM CAME FROM ? 3.HOW THE WEBPAGE IS LOADED AND DISPLAYED? 3.1. THE REQUEST 3.2. THE RESPONSE 3.3. THE PARSING 3.4 THE BUILT 4.WHAT IS NODE ? 5.ADDING SOME TEXT TO A PAGE 6.BEST WAY TO THE GET ELEMENT 7.CONCLUSION 8.REFERENCES 2
  • 3. What is Document Object Model ?  Document Object Model (DOM), a programming interface specification being developed by the World Wide Web Consortium (W3C).  DOM is the browser’s internal programmatic representation of the Webpage.  Can be manipulated by language like JavaScript.  Set of hierarchical collection of objects/elements. 3
  • 4. WheretheDocumentObjectModelcamefrom? "browser wars" of the late 1990s between Netscape Navigator and Microsoft Internet Explorer. 1996 within Netscape Navigator 2.0 “DOM Level 0" or "Legacy DOM” W3C in late 1998 - > 2000 introduce.. DOM Level 1 and 2. 2005, large parts of W3C DOM were well-supported by common ECMAScript-enabled browsers 4
  • 5. HOWTHEWEBPAGEISLOADEDANDDISPLAYED? Technically there are four steps of a webpage being displayed  Request  Response  Built  Render Each of these steps are often performed several times during a page load. 5
  • 6. The Request  The most common way a webpage is requested is when a link is clicked, but requests also occur when a page is refreshed, or when a url is typed into a browser.  The moment when a webpage is requested is also called "navigation start".  It is basically the moment where the whole process of displaying a page begins.  When a linked is clicked a request is made for a document 6
  • 7. The Response  The web server then provides the file to the web browser. The response is simply the browser receiving the thing it had requested.  However, most webpages have things like images, videos, flash movies , External CSS and External JavaScript file.  These are called resources and in order to display the webpage the web browser must get those page resources as well. 7
  • 8. Parsing  Translate the HTML into series of recognizable tokens  The web browser looks at the entire HTML document and looks for any CSS, JavaScript and images that are referenced by the page.  The images, CSS, and JavaScript that the HTML file references will be downloaded by the browser.  It’s main job is to recognizable token into tree of related object 8
  • 9. The Build There are basically three steps that the browser takes to build a page.  Build the DOM  Build the CSSOM  Build the Render Tree 9
  • 10. Building the DOM  The Rendering engine will then use that tree of object to determine where we position element on screen.  The developer then able to use JavaScript to interact with tree of related object through number of properties and method  Each object inherits at the point it was instantiated 10
  • 11. <!DOCTYPE html> <html> <head> <title>Understanding the Document Object Model</title> <script type="text/javascript" src="script13.js"></script> </head> <body> <h1 id="title“>Understanding the Document ObjectModel</h1> <p id="first">This is the first paragraph</p> <p id="second"> <strong>Second paragraph</strong> </p> <p id="third">Third paragraph</p> <input type="submit" id="clickMe" value="Click Me" /> <a href="http://www.bing.com" id="myAnchor">Bing!</a> </div> </body> </html> 11
  • 13. 13
  • 14. What is a Node? The DOM presents documents as a hierarchy of Node objects that also implement other, more specialized interfaces.  Element Node – contains an HTML tag  Text Node – contains text  Text Nodes are contained in Element Nodes 14
  • 15. Adding Some Text To A Page  Create a new Element [document.createElement(“p”)]  Create a Text Node [document.createTextNode(“Some text.”) ]  Attach the New Text Node to the New Element [newNode.appendChild(newText)]  Find an Existing Element [document.getElementById(“thisLocation”)] 15
  • 16. Best way to the get Element getElementById() allows you to work with elements by their individual id but often you will want to work with a group of elements var clickMeButton = document.getElementById('clickMe'); getElementsByTagName() allows you to work with groups of elements. This method returns an array 16
  • 17. Early Lifecycle of Web page 17
  • 18. CONCLUSION There's much more to the Document Object Model than what's been covered here. Styles add a whole new dimension to content presentation and events provide a means to make pages interactive with the user. But these topics deserve their own discussion. The methods provided to navigate it and manipulate different types of nodes. This will give you a solid foundation for dealing with other features of the DOM 18
  • 20. 20