Question 66Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1 + 1 more paper

How does the DOM tree structure reflect the hierarchy of HTML elements?DOM ट्री स्ट्रक्चर HTML एलिमेंट के हायर्की को कैसे दर्शाती है?

DOM ट्री स्ट्रक्चर HTML एलिमेंट के हायर्की को कैसे दर्शाती है?
  1. AIn alphabetical orderवर्णमाला क्रम में
  2. BBased on the element's sizeएलिमेंट-साइज़ के आधार पर
  3. CIn a parent-child relationshipपैरेंट-चाइल्ड रिलेशनशिप में
  4. DAccording to the element's colorएलिमेंट कलर के अनुसार
Show answerHide answer

Correct answer: (C) In a parent-child relationshipपैरेंट-चाइल्ड रिलेशनशिप में

Explanation

The DOM represents a document as a tree, with nested elements as parent and child nodes.DOM किसी दस्तावेज़ को एक ट्री के रूप में दर्शाता है, जिसमें नेस्टेड एलिमेंट पैरेंट और चाइल्ड नोड होते हैं।

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1

This is question 66 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.

Asked in 2 papers