BITS Pilani Akshaya Ganesan Off-Campus BITS-Pilani CSI ZG526 Web Technologies
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956 • The DOM is a W3C (World Wide Web Consortium) standard. • The DOM defines a standard for accessing documents: • "The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document." • The W3C DOM standard is separated into 3 different parts: • Core DOM - standard model for all document types • XML DOM - standard model for XML documents • HTML DOM - standard model for HTML documents DOM 08/09/2018 CSI ZG526 Web Technologies 4
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956 DOM <html> <head> <title>My title</title> </head> <body> <a href=“link”>My Link</a> <h1>My header</h1> </body> </html> 08/09/2018 CSI ZG526 Web Technologies 6
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956 The document object represents your web page. To access any element in an HTML page, start with accessing the document object. Use the document object to access and manipulate HTML.
- Fall '19
- World Wide Web, Document Object Model