1. What is the purpose of the method forward()?
Correct Answer is : Loads the next URL in the history list
2. How will you update the URL displayed in the location bar?
Correct Answer is : location.hash
3. How do you add a particular state to the browsing history?
Correct Answer is : pushState()
4. What does the pushState() method do?
Correct Answer is : Adds new state
5. Which of the following method is used to replace the current history state instead of adding a new state to the browsing history?
Correct Answer is : replaceState()
6. How many parameters does the replaceState() method take?
7. What is the purpose of the event window.onpopstate?
Correct Answer is : When a state object is removed
8. Which program code doesn’t need preprocessing before being run?
Correct Answer is : Script
9. What is the significance of scripting?
Correct Answer is : Dynamic
10. What is the purpose of XMLHttpRequest?
Correct Answer is : Load content without loading new document
11. Which API makes the user’s current location available to browser-based application?
Correct Answer is : Geolocation API
12. Which of the following ensures additional interactivity mechanism?
Correct Answer is : WAI ARIA
13. What is the necessity to have API?
Correct Answer is : Describe particular task
14. What is the purpose of the event onAirEvent?
Correct Answer is : Content is played
15. What is the purpose of the event disconnectionEvent?
Correct Answer is : Player disconnects from the channel
16. When does one use the event ready?
Correct Answer is : After loading
17. When does one use the method startOverlays()?
Correct Answer is : Create ad request
18. What is the reason for avoiding the attributes property in the HTML DOM?
Correct Answer is : Attributes don’t have attributes
19. What is the purpose of the method nodeMap.setNamedItem()?
Correct Answer is : Sets attribute node
20. How is everything treated in HTML DOM?