Contents

What does a History object contain?
a) URL                                 
b) Parameters
c) Attribute values              
d) Property

a

The history object is a part of which object?
a) Property                           
b) Window
c) Location                          
d) Screen

b

How many methods are there in the History object?
a) 3                                                        
b) 4
c) 5                                                        
d) 6

a

What is the purpose of the method forward()?
a) Loads any random URL in the history list
b) Loads the previous URL in the history list
c) Loads a specific URL from the history list
d) Loads the next URL in 
the history list

d

How will you update the URL displayed in the location bar?
a) location                            
b) location.URL
c) location.hash  
d) url

c

How do you add a particular state to the browsing history?
a) pushState()                      
b) replaceState()
c) state()                                               
d) addstate()

a