- Selenium
- JMeter
- DevOps
- VERSION CTRL
- ONLINE QUIZ
- Number System MCQ - 1
- Number System MCQ - 2
- Number System MCQ - 3
- Simplification MCQ - 1
- Average MCQ - 1
- Simple Interest MCQ - 1
- Compound Interest - MCQ
- Percentage - MCQ
- Ratio and Proportion - MCQ
- Profit and Loss - MCQ
- Time, Speed, and Distance - MCQ
- Time, and Work - MCQ
- Boats and Streams - MCQ
- General Knowledge Quiz - Indian Polity
- General Knowledge Quiz - History
- General Knowledge Quiz - Geography
- GK Quiz - Indian Polity - 2
- GK Quiz - Banking and Finance
- GK Quiz - Economics
- GK Quiz- Merger and Acquisition
- GK Quiz- International Bodies
- English Grammar quiz-1
- English Grammar quiz-2
- S/W PROJECT MANAGEMENT
- PROTRACTOR
- Java -Tutorials
- MORE
Javascript quiz on document object
Check this javascript quiz on document objects for free and evaluate your expertise on JS document object properties and functions.
Instructions
Topic- document object
The test consists of 10 questions.
No negative marking for this test.
No Time limit
The pass percentage is 70%
The correct answer with a description will be displayed after the answer has been marked.
Submit the test to calculate your score once you are done with all the questions.
Complexity Level- Easy
Q1: The below JS statement will ______
document.write("Hello World!")
document.write("Hello World!")
Q2: The below JS statement will ______
document.querySelector('#someField');
document.querySelector('#someField');
Q3: The JS statement document.querySelectorAll(".someLocator"); will ______
Q4: document.anchors will ______
Q5: document.title will ______
Q6: In order to find an element by its id, which of the below methods will be used?
Q7: Which document property will return the html element?
Q8: Which document property will return all the form elements?
Q9: Which document property will return all the img elements?
Q10: Which document property will return the complete URL of the document?