Question 1 of 25
Hints left: 3
Q1
What will be done if more than one page requires a file of JavaScript code?
Q2
Which of the following is a global object?
Q3
Client-side JavaScript code is embedded within HTML documents in
Q4
Which object is the main entry point to all client-side JavaScript features and APIs?
Q5
What is the code to start displaying the time when document loads?
Q6
When does JavaScript code appear inline within an HTML file?
Q7
How to pick a document element based on the value of its id attribute?
Q8
What is the property to access the first child of a node?
Q9
Which is the property that represents the content displayed in the window?
Q10
What is the default value of the type attribute?
Q11
Which is the root element in a HTML document?
Q12
Which character in JavaScript code will be interpreted as XML markup?
Q13
Which Window object method is used to display message in a dialog box?
Q14
Which identifier is used to represent a web browser window or frame?
Q15
Which of the following is a way of embedding Client-side JavaScript code within HTML documents?
Q16
The language is commonly used to
Q17
JavaScript code between a pair of “script” tags are called
Q18
What is the code for getting the current time?
Q19
When will the window property come into play?
Q20
Which property in the Window object is used to refer to a Location object?
Q21
The word “document” mainly refers to
Q22
Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?
Q23
What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?
Q24
The setTimeout() method is used to
Q25
One of the main advantage of using src attribute is