Explore topic-wise MCQs in Html.

This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

1.

WHICH_OF_THE_FOLLOWING_IS_THE_NAVIGATOR_OBJECT_METHOD??$

A. javaEnabled()
B. moveBy()
C. scroll()
D. stop()
Answer» B. moveBy()
2.

WHICH_OF_THE_FOLLOWING_IS_NOT_NAVIGATOR_OBJECT_PROPERTY??$

A. appVersion
B. geolocation
C. document
D. cookieEnabled
Answer» D. cookieEnabled
3.

Which is not the method of History object?$

A. go()
B. moveBy()
C. forward()
D. back()
Answer» C. forward()
4.

Which of the following is not screen object property?$

A. width
B. colorDepth
C. pixelDepth
D. language
Answer» E.
5.

Which of the following is not DOM property?

A. document.anchors
B. document.cookie
C. document.body
D. document.origin
Answer» E.
6.

Which is not the property of location object?

A. origin
B. port
C. host
D. geolocation
Answer» E.
7.

Which is not the location object method?

A. stop()
B. reload()
C. assign()
D. replace()
Answer» B. reload()
8.

Which of the following is not window object property?

A. defaultStatus
B. closed
C. constructor
D. frames
Answer» D. frames
9.

Which is not a JavaScript global function?

A. compile()
B. eval()
C. decodeURI()
D. isNaN()
Answer» B. eval()
10.

Which one is not regular expression object method?

A. test()
B. exec()
C. compile()
D. each()
Answer» E.
11.

In JavaScript, which one is used to finding the non-whitespace characters?

A. \d
B. \s
C. \S
D. \w
Answer» D. \w
12.

The method releases jQuery’s control of $ is __________$

A. $.param()
B. $.noConflict()
C. each()
D. data()
Answer» C. each()
13.

Correct syntax for $.post() method is ____________

A. $.post(URL,data,callback)
B. $.post(URL,data)
C. $.post(URL,callback)
D. $.post(data,callback)
Answer» B. $.post(URL,data)
14.

Which of the following is not a method of AJAX?

A. get()
B. getJSON()
C. post()
D. stop()
Answer» E.