MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
HTML
Basic HTML
Quiz 5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Q.1
What is the use of “defer” attribute?
It defers rendering of html page
It defers script execution until the page has been rendered
It defers rendering of css attributes
None of mentioned
Q.2
Which of the following statements is false?
async and defer attributes of script tag execute before the DOMContentLoaded event
defer executes each script sequentially
async executes each script when it is ready
all older browsers supports async attribute
Q.3
Which of the following is used to read a HTML page and render it?
Web browser
Web server
Web matrix
None of the mentioned
Q.4
Which of the following is the first web browser?
Nexus
Netscape Navigator
Internet Explorer
Mosaic
Q.5
State whether the given statement is true or false. !DOCTYPE is case sensitive”
True
False
Q.6
Choose the correct statement of HTML
In traditional XHTML close tag for some elements is optional but not encouraged
In traditional HTML close tag for some elements is optional but not encouraged
None of the mentioned
In both traditional XHTML and HTML close tag for some elements is optional
Q.7
Which of the following is not a difference between HTML and XHTML
Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
None of the mentioned
Tags and attributes are case-insensitive in HTML but not in XHTML
Special characters must be escaped using character entities in XHTML unlike HTML
Q.8
What indicates the content in file is HTML when delivered on the network.
The extension of the file “.html”
The “content-type” header
Both “.html” extension and “content-type” header
None of the mentioned
Q.9
State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”
True
False
Q.10
HTML and XHTML stands for
Hyper Text Markup Language and EXtensible HyperText Markup Language
Hyper Text Markup Language and EXtensible HyperText Marking Language
Hyper Text Marking Language and EXtensible HyperText Marking Language
None of the mentioned
Q.11
Choose the correct tag for largest heading in HTML.
h6
heading
h1
head
Q.12
Which of the following are table tags?
table, thead, tr, td
colspan, table, tr
table, tt, tr, td
none of the mentioned
Q.13
Choose the correct XHTML for width attribute and its value.
width=80
width=”80″
WIDTH=”80″
WIDTH=80
Q.14
Which attribute is used for favicon?
icon
title
rel
head
Q.15
Which of the following options follows content model in HTML?
i.
<ul>
<p>
Option one
</p>
</ul>
ii.
<ul>
<li>
Option two
</li>
</ul>
i
ii
i and ii
None of the mentioned
Q.16
Which section is used for text and tags that are shown directly on your web page ?
Head
Metatags
Body
title
Q.17
The MIME text file is saved with.
CSS extension
HTML extension
HMT extension
None of the above
Q.18
The attribute used choose the type of font in HTML is ?
Character
Face
Text-type
All of the above
Q.19
To change the size of an image in HTML, use
Pliers
Bigger and smaller
Top and bottom
Height and width
Q.20
What does vlink mean?
Active link
Visible link
Visited link
None of the above
Q.21
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
Q.22
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
Q.23
The accesskey attribute specifies a keyboard navigation accelerator for the element.
True
False
Q.24
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
class
id
article
html
Q.25
The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.
dir
dir
class
none of the mentioned
Q.26
Which of the following is the attribute that is used to set a global identifier for a microdata item?
key
id
itemclass
itemid
Q.27
Which of the following is the attribute that is used to add a name/value pair to a microdata item?
itemscope
itemref
itemprop
itemid
Q.28
Which attribute is used to provide an advisory text about an element or its contents.
tooltip
dir
title
none of the mentioned
Q.29
The __________ attribute sets the text direction as related to the lang attribute.
lang
sub
dir
ds
Q.30
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
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)