R4RIN
MCQS
HTML MCQ Quiz Hub
HTML Mcq Question Set 11
Choose a topic to test your knowledge and improve your HTML skills
1. Which entity is not for both HTML and XML?
apos
It?
cent
quot
2. Which entity is not for punctuation character?
&quot
&para
&not
&acute
3. Which of the following is not character entity?
&aelig
&aring
&image
&ecirc
4. Which entity is for the arrow?
&crarr
&zeta
&upsih
&oelig
5. Which entity is not for shape?
&harr
&clubs
&hearts
&spades
6. Which of the following entity is for shape?
&uarr
&loz
&rarr
&larr
7. Which entity is for inverted question mark?
&iquest
&oline
&permil
&prime
8. For trade mark sign which entity is used?
&shy
&trade
&sect
&real
9. For latin letter u with acute which entity is used?
&ucirc
&ugrave
&ucirc
&uacute
10. For upward double arrow which entity is used?
&uArr
&uarr
&rarr
&darr
11. How many standard color names does HTML supports?
120
130
140
90
12. Which of the following is not set with font-style property?
font-style: normal
font-style: italic
font-style: oblique
font-style: capitalize
13. What should be set with text-align property so that every line has equal width like in magazines and newspapers?
text-align: justify
text-align: none
text-align: bottom
text-align: top
14. Which of the following is not used with text-decoration property?
overline
underline
line-through
inline
15. Which works similar to <i> element?
&lt;strong&gt;
&lt;em&gt;
&lt;b&gt;
&lt;blockquote&gt;
16. Which works similar to <b> element?
&lt;strong&gt;
&lt;em&gt;
&lt;i&gt;
&lt;blockquote&gt;
17. Which element is used for short quote?
&lt;q&gt;
&lt;blockquote&gt;
&lt;em&gt;
&lt;abbr&gt;
18. Which element is used for abbreviation or acronym?
&lt;em&gt;
&lt;q&gt;
&lt;abbr&gt;
&lt;blockquote&gt;
19. What is the work of <address> element?
contains contact details for author
contains IP address
contains home address
contains url
20. To show deleted text,which element is used?
&lt;ins&gt;
&lt;del&gt;
&lt;em&gt;
&lt;strong&gt;
21. Which element is used to show inserted element?
&lt;ins&gt;
&lt;del&gt;
&lt;strong&gt;
&lt;em&gt;
22. How <bdo> element works?
override text direction
stops writing in the current text direction
only override direction of rtl text
only changes the direction of ltr text
23. Which property is similar to C/C++ can be applied to comments?
for loop
while loop
ifelse
switch case
24. Which element defines a title of the Work?
&lt;abbr&gt;
&lt;cite&gt;
&lt;address&gt;
&lt;blockquote&gt;
25. For smaller text which element is used?
&lt;tiny&gt;
&lt;min&gt;
&lt;small&gt;
&lt;em&gt;
26. All attribute declarations begin with the keyword ____________ followed by the element name,attribute name,attribute type,and default data information.
XML
SGML
ATTLIST
HTML
27. The ________ declaration specifies which characters and delimiters may appear in the application.
DTD
SGML
XML
HTML
28. The __________ defines the syntax of markup constructs and include additional definitions such as character entity references.
Attributes
SGML
Elements
DTD
29. A/An _________ is essentially a macro that allows a short name to be associated with the replacement text.
Entity
Attribute
Comment
Element
30. The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question,a list of attribute definitions,and a closing.
DOCTYPE
ATTLIST
DTD
SGML
31. The __________ begins with a series of parameter entity definitions.
DTD
SGML
XML
HTML
32. The ______________ parameter identifies a character encoding,which is a method of converting a sequence of bytes into a sequence of characters.
class
element
charset
attribute
33. Which event is fired as the mouse is moving over an element when a drag is occurring?
dragover
dragenter
dragstart
dragleave
34. The _________ event is fired on the element where the drop occurred at the end of the drag operation.
drag
drop
dragstart
dragenter
35. Which of the following property is common in all drag events?
drag effects
drag data
dataTransfer
dragenter
36. ____________ in textboxes and selections on web pages is done automatically,so you do not need to handle dragging yourself.
Dragging HTML and XML
Dragging Text
Dragging Files
Dragging Links
37. Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.
drop
drag
preventDefault
dataTransfer
38. Which of the following property is used to determine which drag operation was desired?
dragend
getData
dropEffect
captureData
39. ______ should include data of two types; the first should be the URL using the type text/uri-list,and the second is the URL using the text/plain type.
Dragging HTML and XML
Dragging Text
Dragging Files
Dragging Links
40. _____ and elements in a document may be dragged using the application/x-moz-node type.
Dragging HTML and XML
Dragging Text
Dragging Nodes
Dragging Links
41. Which method is used to get users position?
getCurrentPosition()
getDirectPosition()
post()
getDirection
42. What does showPosition() returns?
only latitude
only longitude
both latitude and longitude
direction
43. What does getCurrentPosition() returns?
Latitude
longitude
direction
coordinates
44. Which of the following technique is not for the mobile browser to identify the location of a user?
GPS
IP based position
WIFI based position
A-GPS
45. Success callback function evoke only when ___
user accepts to share location information
always evoke
gps is accessible
only by mobile browser
46. What timestamp property denotes?
time at which WIFI is used
the time at which data of the location is retrieved
the time at which callback function is evoked
current time
47. Which of the following is not the property of the cords object?
Accuracy
Altitude
AltitudeAccuracy
enableHighAccuracy
48. Which parameter gives an accuracy of longitude and latitude?
Accuracy
AltitudeAccuracy
enableHighAccuracy
Extra accuracy
49. Which of the following property does not has always a return?
coords.longitude
coords.latitude
coords.accuracy
coords.altitude
50. Which property is like the GPS in car?
watchPosition()
clearWatch()
getCurrentPosition()
showPosition()
Submit