Title: Quiz Week 8 DOM
Course: Fall 2023 - WEBD 164 (41934) > Section: Week 8 (Oct 9) How to use the Document Object Model (DOM)

Q: Check all that are true...

The Document Object Model or the DOM
- is set forth by the W3C or World Wide Web Consortium
- is a model for accessing the elements by their relationship to the other elements or nodes on the page
- represents the page in a tree like structure of heirachy
- allows us to access the HTML element by their "id" attribute value
A: is set forth by the W3C or World Wide Web Consortium; is a model for accessing the elements by their relationship to the other elements or nodes on the page; represents the page in a tree like structure of heirachy; allows us to access the HTML element by their "id" attribute value

Q: When we use the document object model, we need to wait until the page loads so that JavaScript can identify all of the elements.
- True
- False
A: True

Q: The Document Object  Model allows you to access a group of elements by accesing their tag name.
- True
- False
A: True

Q: You can change attribute values, add new attributes and values, and remove attributes and values using the DOM - true or false
- True
- False
A: True