HTML - Programming Language (MCQ) questions

1)   Which event will be used when a connection to the server is opened.
- Published on 19 Oct 15

a. onopen
b. onmessage
c. onerror
d. None of the above
Answer  Explanation 

ANSWER: onopen

Explanation:
No explanation is available for this question!


2)   Pseudo-classes in CSS ________.
- Published on 19 Oct 15

a. match a specified element
b. select the active links
c. are used to define a special state of an element
d. are used to select all the visited links
Answer  Explanation 

ANSWER: are used to define a special state of an element

Explanation:
No explanation is available for this question!


3)   A CSS combinator is the one which explains the relationship between the selectors.
- Published on 19 Oct 15

a. True
b. False
Answer  Explanation 

ANSWER: True

Explanation:
No explanation is available for this question!


4)   Which CSS property sets the stack order of an element?
- Published on 19 Oct 15

a. z-index
b. position
c. overflow
d. clip
Answer  Explanation 

ANSWER: z-index

Explanation:
No explanation is available for this question!


5)   Which CSS property is used for controlling the layout?
- Published on 19 Oct 15

a. header
b. display
c. footer
d. none of the above
Answer  Explanation 

ANSWER: display

Explanation:
No explanation is available for this question!


6)   Which of the following is / are the state of the links in CSS?
- Published on 19 Oct 15

a. a:link
b. a:visited
c. a:hover
d. a:active
e. All of the above.
Answer  Explanation 

ANSWER: All of the above.

Explanation:
No explanation is available for this question!


7)   Which CSS property is used with the direction property to set or return whether the text should be overridden to support multiple languages in the same document?
- Published on 28 Aug 15

a. unicode - bidi
b. color
c. line - height
d. direction
Answer  Explanation 

ANSWER: unicode - bidi

Explanation:
No explanation is available for this question!


8)   Which CSS property sets a background image for an element?
- Published on 28 Aug 15

a. background
b. background - attachment
c. background - color
d. background - image
Answer  Explanation 

ANSWER: background - image

Explanation:
No explanation is available for this question!


9)   Which object is used to receive the server - sent event notifications?
- Published on 28 Aug 15

a. source.onmessage
b. getElementById
c. EventSource
d. echo
Answer  Explanation 

ANSWER: EventSource

Explanation:
No explanation is available for this question!


10)   What is a web worker?
- Published on 28 Aug 15

a. It helps in executing the tags on the page
b. It is a JavaScript running in the background without affecting the performance of the page
c. It is a functional tool
d. None of the above
Answer  Explanation 

ANSWER: It is a JavaScript running in the background without affecting the performance of the page

Explanation:
No explanation is available for this question!


1 2 3 4 5 6