1.

The URL property belongs to which of the following object?(a) Document(b) Element(c) Location(d) Event

Answer» Right option is (a) Document

Best explanation: The Document object has a URL property, which is a static string that holds the URL of the document when it was first loaded. If you want to access any element in an HTML page, you always start with accessing the document object.


Discussion

No Comment Found

Related InterviewSolutions