DOM Manipulation "A2" 1 / 50 event bubbling को रोकने के लिए? stopBubble() stopPropagation() stopFlow() stopEvent() 2 / 50 कौन event पहले फायर होता है? depend capturing bubbling दोनों 3 / 50 "children" और "childNodes" में अंतर? children = only elements childNodes = elements + text दोनों कोई नहीं 4 / 50 DOM में “firstElementChild” क्या return करता है? attribute पहली element node null text 5 / 50 DOM collection को array में convert करने के लिए? Array.make() Array.from() toArray() convert() 6 / 50 कौन event inline लिखा जाता है? attach() addEventListener eventBind onclick="" 7 / 50 कौन property element की position बताती है? getPos() getComputedPosition() offsetTop realTop 8 / 50 कौन method element को replace करता है? replaceElement() replaceChild() swap() changeChild() 9 / 50 DOM में siblings कैसे access करते हैं? nextSibling previousSibling दोनों कोई नहीं 10 / 50 कौन property actual style calculate करती है? getStyle () getComputedStyle() element.css element.currentStyle 11 / 50 किससे CSS class toggle होती है? classList.switch() classList.toggle() classList.change() classToggle() 12 / 50 कौन method element को अंतिम child के रूप में जोड़ता है? append() appendChild() pushChild() lastAppend() 13 / 50 DOM में कौन tree traversal method नहीं है? nextSibling firstChild upward parentNode 14 / 50 event listener हटाने के लिए? removeEventListener() endEvent() unbindEvent() deleteEvent() 15 / 50 event listener जोड़ने का सही method? bindEvent() onEvent() addEventListener() attachEvent() 16 / 50 element.hidden = true; क्या करता है? delete hide fade move 17 / 50 scrollHeight किसके लिए है? only border total scrollable height only padding visible height 18 / 50 कौन layout reflow cause करता है? offsetHeight innerHTML clientWidth सभी 19 / 50 textContent और innerText में कौन fast है? innerText textContent कोई नहीं दोनों equal 20 / 50 innerHTML में कौन problem आ सकती है? color issue memory XSS Attack slow 21 / 50 किसी element को clone करने के लिए? copy() cloneNode() duplicate() newClone() 22 / 50 HTMLCollection live-update होता है? Yes No 23 / 50 NodeList live-update होता है? No Yes 24 / 50 कौन property HTMLCollection return करती है? innerHTML children childNodes querySelectorAll() 25 / 50 कौन-सा method parent के पहले child के रूप में insert करता है? parent.append() parent.insertBefore() parent.insertTop() parent.addFirst() 26 / 50 comment node type? 7 5 8 3 27 / 50 nodeType में text node का type? 3 1 8 10 28 / 50 nodeType में element node का type क्या होता है? 0 1 2 3 29 / 50 DOM में entry point कौन-सा है? window html document node 30 / 50 DOM में top-most object कौन है? body HTML window document 31 / 50 कौन property style change के लिए है? structure css style design 32 / 50 किसी element की class check करने के लिए? element.contains() element.classList.contains() element.class.has() element.inClass() 33 / 50 attribute remove करने के लिए? removeAttribute() deleteAttr() eraseAttribute( endAttribute() 34 / 50 attribute set करने के लिए? attributeAdd() createAttr() setAttribute() setAttr() 35 / 50 DOM में childNodes में क्या return होता है? elements + text nodes केवल text केवल element only HTMLCollection 36 / 50 किसी node का parent पाने के लिए? node.upper node.parentNode node.super node.parent 37 / 50 किसी element को DOM से हटाने के लिए? element.remove() element.delete() element.destroy() element.pop() 38 / 50 किसी parent में child append करने का सही तरीका? parent.appendChild(child) parent.add(child) parent.childAppend() parent.put(child) 39 / 50 कौन method DOM में नया element बनाता है? create() newElement() createElement() addElement() 40 / 50 कौन property HTML को read-only text के रूप में return करती है? innerText outerHTML textContent htmlText 41 / 50 किसी element की height पता करने के लिए? element.height() element.outerHeight element.realHeight element.clientHeight 42 / 50 class जोड़ने के लिए सही method? element.classAdd() element.addClass() element.classList.add() element.class.push() 43 / 50 किसी element का background color बदलने के लिए? element.bgColor element.css.background element.style.background element.design.background 44 / 50 HTML जोड़ने के लिए कौन property उपयोग होती है? htmlText insertHTML innerHTML innerCode 45 / 50 किसी element का text बदलने के लिए कौन property है? textInside innerHTML innerText textHTML 46 / 50 querySelectorAll() क्या return करता है? Object HTMLCollection Array NodeList 47 / 50 querySelector() क्या return करता है? सभी elements पहला matching element last element array 48 / 50 किसी class वाले सभी elements select करने का सही तरीका? getElementsByClass() getElementClass() getElementsByClassName() getClassList() 49 / 50 JavaScript से ID द्वारा element select करने के लिए कौन-सा method है? getId() querySelectorId() getElementById() findById() 50 / 50 DOM का full form क्या है? Document Object Model Data Object Mapping Domain Object Model Document Order Mapping Your score isThe average score is 0% 0% Restart quiz