Which is not contained by DOM level 1?
Question
Which is not contained by DOM level 1?
Solution
DOM Level 1 primarily provides a map of an XML document, allowing developers to navigate, add, modify, or delete elements and content in the document. It includes two modules: the Core, which provides a basic document model, and the HTML, which extends the Core to include HTML-specific objects and methods.
However, DOM Level 1 does not contain the following:
-
Event handling: DOM Level 1 does not provide any built-in method for handling events like clicks or key presses. This feature was introduced in DOM Level 2 with the Events module.
-
CSS object model: DOM Level 1 does not include any methods or objects for dealing with CSS styles. This feature was also introduced in DOM Level 2 with the Style module.
-
XML namespaces: DOM Level 1 does not support XML namespaces, which allow for the qualification of element and attribute names by associating them with namespaces identified by URI references. This feature was introduced in DOM Level 2.
-
Traversal and Range: DOM Level 1 does not provide any methods for traversing the document tree or working with ranges of nodes within the document. These features were introduced in DOM Level 2 with the Traversal and Range module.
So, to answer your question, DOM Level 1 does not contain event handling, CSS object model, XML namespaces, and traversal and range features.
Similar Questions
Explain DOM with example
What is the HTML DOM?
Which of the following are examples of block-level elements in HTML?Select one:a. `<div>`b. `<p>`c. All of the aboved. `<h1>`
What does the "DOM" stand for in JavaScript?OptionsDocument Object ModelDocument Orientation ModelDocument Object ManipulationData Object Model
In React, what is the role of the Virtual DOM?*It is a real representation of the DOM structure.It is used to store component dataIt is a lightweight copy of the DOM used for efficient rendering.It is a debugging tool for inspecting component hierarchy.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.