MCQ'S based on HTML
MCQ'S based on HTML
1. Which of these elements in HTML can be used for making a text bold?
a. <a>
b. <pre>
c. <br>
d. <b>
i
in
2. Which tag do we use in HTML for inserting a line-break?
a. <a> Sa
b. <br>
c. <b>
d. <pre>
l
Answer: (b) <br>
hi
5. Which tag do we use to define the options present in the drop-down selection lists?
i
a. <list>
in
b. <option>
c. <dropdown>
d. <select>
Sa
Answer: (b) <option>
7. Which HTML tag do we use to display text along with a scrolling effect?
a. <div>
b. <scroll>
c. <marquee>
a. horizontal ruler
b. new line
i
c. new paragraph
in
d. vertical ruler
a. <mail ab@b</mail>
a. in upper case
b. case-sensitive
c. in lowercase
d. not case sensitive
11. Which of these tags helps in the creation of a drop-down box or a combo box?
b. <list>
c. <ul>
d. <select>
i
Answer: (d) <select>
in
12. Which tag is used in HTML5 for the initialization of the document type?
a. <Doctype HTML>
b. <!DOCTYPE html>
Sa
c. <Doctype>
d. <\Doctype html>
l
Answer: (b) <!DOCTYPE html>
hi
13. What is the correct way in which we can start an ordered list that has the numeric
value count of 5?
ik
a. <head>
b. <body>
c. <title>
d. <html>
i
15. Which HTML tag do we use for displaying the power in the expression, (x² – y²)?
in
a. <p>
b. <sub>
c. <sup>
Sa
d. None of the above
a. ## and #
ik
a. datasrc
i
b. mayscript
in
c. name
d. datafld
b. “%”
c. “&”
ik
d. “*”
N
a. apos
b. quot
c. copy
d. gt
a. &zeta
b. &crarr
i
c. &oelig
in
d. &upsih
a. Opera
b. Safari
l
c. Chrome
hi
d. Firefox
ik
23. Which one of these helps us test if an old browser supports the geolocation?
N
a. Modernizr.geolocation
b. Modernizr
c. Modernizr.js
d. Navigator.userAgent
a. .small
b. .lead
c. .text-center
d. .text-left
i
Answer: (b) .lead
in
25. What do we call after initializing a plug-in to get A scripting interface?
a. NP_GetMIMEDescription
b. NP_Initialize
Sa
c. NPP_GetValue
d. NP_GetValue
l
Answer: (c) NPP_GetValue
hi
ik
N