R4RIN
MCQS
HTML MCQ Quiz Hub
HTML Mcq Question Set 10
Choose a topic to test your knowledge and improve your HTML skills
1. Which of the following is not the form type for adding text?
Text input
Text area
Password input
Submit button
2. In the processing of information, the server does not use the language _____
C#
JAVA
C++
VB.net
3. For creating single line text box for searching queries, we use the type ___________
placeholder
search
url
hidden
4. Form validation traditionally was performed by ___________
PHP
HTML
JavaScript
Query
5. For grouping form controls we can use ___________
<legend>
<fieldset>
<label>
<select>
6. Which one has the most potential for minification?
JavaScript
CSS
HTML
PHP
7. YUI compressor is written in ____________
HTML
C++
C
Java
8. Which compressor gives maximum GZIPPED compression?
YUI
JSMin
Packer
Closure(advanced)
9. CSSMin is written in ___________
C++
Java
PHP
C
10. HTMLMinifier is written in ________
JavaScript
Java
C++
C
11. Which option is not available in HTMLMinifier?
remove attribute quotes
use the short doctype
remove empty elements
replace <strong> with <b>
12. Which of the following is not associated with web socket communication?
https
wss
ws
http
13. Which of the following is the wire protocol for WebScoket?
RFC6455
RFC6477
RFC6567
RFC8967
14. The maximum bytes for control frames is _______________
100 bytes
125 bytes
130 bytes
150 bytes
15. Which of the following is the server library for Node.js?
Caddy
SignalR
ws
jsonrpc
16. In desktop which browser does not support WebSocket?
Chrome version 7
Chrome version 6
Chrome version 43
Internet Explorer 10
17. Which one is not associated with Gecko?
Firefox
SeaMonkey
Thunderbird
Internet Explorer
18. Messages from the server are received by ____
onmessage
send
arrayBuffer
blob
19. For duplex communication we can’t use
Long Polling
HTML5
JavaScript
Streaming
20. Which of the following is not the event of WebSocket API?
Close
Message
Send
Error
21. Which one is not a very good developer support?
Opera
Internet Explorer
Firefox
Chrome
22. Which attribute specifies a unique alphanumeric identifier to be associated with an element?
class
id
article
html
23. The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.
dir
style
class
article
24. Which attribute is used to provide an advisory text about an element or its contents?
tooltip
dir
title
head
25. The __________ attribute sets the text direction as related to the lang attribute.
lang
sub
dir
ds
26. Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?
dataFormatAs
datafld
disabled
datasrc
27. Which of the following is the attribute that indicates the name of the data source object that supplies the data that is bound to this element?
dataFormatAs
datafld
disabled
datasrc
28. Which of the following is the attribute that specifies additional horizontal space, in pixels, to be reserved on either side of an embedded item like an iframe, applet, image, and so on?
height
hspace
hidefocus
datasrc
29. Which of the following is the attribute that is used to set a global identifier for a microdata item?
key
id
itemclass
itemid
30. Which of the following is the attribute that is used to add a name/value pair to a microdata item?
itemscope
itemref
itemprop
itemid
31. What does wrap attribute denote?
Whether the text is in bold
Whether the text is wrapped
Whether the text is in italics
Whether the text is highlighted
32. With which element width attribute is not define?
<input>
<object>
<embed>
<textarea>
33. Which of the following defines a default value on page load?
<object>
<input>
<progress>
<area>
34. How title attribute works?
Displays text when hovering over the element
Focus text when hovering over the element
Highlight text when hovering over the element
Zoom in and zoom out text when hovering over the element
35. Which attribute is not for overriding the actions?
Formaction
Style
Tabindex
Slot
36. srclang attribute is used with the element ____________
<track>
<input>
<iframe>
<table>
37. What is the use of spellcheck attribute?
Checks spelling
Indicates if spell checking is allowed
Checks spelling and corrects it
Checks spelling of a given particular text only
38. Which parameter is commonly used for size attribute?
centimeter
pixels
inch
millimeter
39. Which attribute indicates a descending order of displaying a list?
reversed
forward
straight
circular
40. The major difference between minlength and min attribute is ______
minlength is for the minimum number of characters and ‘min’ is for the minimum value
minlength is for the minimum value and ‘min’ is for the minimum number of characters
minlength is for multiple values and ‘min’ is for the single value
minlength’ is for single value and ‘minlength’ is for multiple values
41. loop attribute is not used with _____________
<audio>
<marquee>
<video>
<track>
42. How does download attribute work?
An indication that hyperlink is to be used for downloading
Directly downloads as per the need of the user
Gives various source links to download
List the topics which one can download from a certain page
43. datetime attribute is not related with ______________
<del>
<time>
<ins>
<form>
44. cols attribute is use with ___________
<td>
<th>
<textarea>
<ol>
45. Use of checked attribute is ____________
Whether on page load element should be checked
Whether on page load all form element should be checked
Whether on page load all list element should be checked
Whether on page load all multimedia elements should be checked
46. Syntax of entity declaration is ___________
<!entity name “value”>
<entity name “value”!>
<”value” entity name>
<!”value” entity name>
47. What is the correct format of numeric character reference?
&nnnn;
&#nnnn;
#nnnn;
$*nnnn;
48. What is the format for character entity reference?
&name;
$name;
%name;
!name;
49. For entity which term is used by XML?
character entity reference
numeric character reference
predefined entities
character and numeric entity reference
50. Which entity is not defined in XML?
quot
apos
gt
copy
Submit