- HTML 5 Elements and attributes
- HTML 5 Events
- HTML 5 syntax
- HTML 5 Web application APIs
- Loading HTML 5 Web pages
01.
Which of the following statements is/are correct
for block quote? Ans: b
02.
Which of the following <link> attributes
are NOT supported in HTML 5.0? Ans: a
03.
Which of the following elements preserves spaces
and line breaks, and displays the text in fixed-width font? Ans: b
04.
Which of the following attributes comes in handy
when borders have to be put between groups of columns instead of every column? Ans: b
05.
In HTML 5.0 which of the following is NOT a
valid value for the type attribute when used with the <command> tag shown
below? <command type=”?”> Click
Me!</command> Ans: b
06.
How will you return a reference to the parent of
the current window or subframe in an HTML 5.0 web application? Ans: b
07.
How will you change the value of the cookies and
items in the storage objects of the local Storage attributes in HTML5.0? Ans: b
08.
What
is the role of the <dfn> element in HTML 5.0? Ans: d
09.
Which
event is fired when an element loses its focus in HTML 5.0 document? Ans: c
10.
A piece of text contains many blank spaces
within it. Which of the following tags would be suitable to display the text as
it was originally formatted? Ans: d
11.
A developer
wrote this image tag <img src=”states.gif width=”330” height=”406”
alt=”States” usrmap=”#statemap”/> what code should follow this? Ans: a
12.
The following link is placed on an html webpage.
<a href=http://msdn.com/ target=”_blank”>
MSDN </a> What do you infer from it? Ans:
b
13.
You specified a base tag and anchors as follows:
Ans: a
14.
In
HTML 5.0 which of the following attributes of the <object> element refers
to the location of the object’s data? Ans: c
15.
In
HTML 5.0 what is the function of the sandbox attribute when used with
<iframe> as shown below? <iframe src=”aaa”
sandbox=?></iframe> Ans: a
16.
Which
event is fired when the history of the browser window changes? Ans: a
17.
What is the output when you use the html 5.0 code
snippet shown below? <body onload=”alert(this)”> Ans:
b
18.
Which
of the following is NOT a valid value for the <iframe> sandbox attribute
in HTML 5.0?
Ans: a
19.
Which
of the following HTML 5.0 elements is used to embed Java applets into
your HTML 5.0 web page? Ans: b
20.
How will you cancel the timeouts that are set
with the detlnterval() API method
identified by the handlers in HTML 5.0? Ans: a
21.
What will be the result if you use the following
code to your HTML 5.0 document? <p>I use <del> MAC</del>
<ins> Microsoft</ins>!</p> Ans: c
22.
Consider the above code. What will be the impact
upon the contents of the element if both the style sheets define the same
class? Ans: a
23.
You want to create a link for your website
allowing users to email the webmaster. How will you implement this if the
webmaster’s email address is webmaster@xcompany.com?
Ans: a
24.
What is the purpose of the <q> element in
HTML 5.0? Ans: c
25.
Which of the following statements is correct if
you invoke the window prompt (message, default) web application API method in
HTML5.0? Ans: d
26.
Which of the following is an INVALID value for the type
attribute of command tag? Ans: c
27.
Consider
the following items of a <select> list: <option value=”89” Item
1</option> <option value =”90”> item 2</option> Ans: b
28.
Which of the following are valid mouse events in
HTML 5.0? Ans: all
29.
Which of the following are valid HTML 5.0
elements? Ans: all
30.
Which of the following is NOT valid value for
the type attribute of the <input> element in HTML 5.0? Ans: a,b,c,e
31.
Which of
the following is the correct method to load another web page or reload the same
page In HTML 5.0? Ans: d
32.
Which
of the following <iframe> attributes are NOT supported in HTML 5.0? Ans: b,d
33.
Which
of the following is an INVALID keyword value for http-equiv attribute when used
with the <meta> element in HTML5.0? Ans:
c,f
34.
What
does the icon attribute of the HTML 5.0 connand tag define? <command
icon=”?”>Click Me!</command> Ans: a
35.
Which of the following statements is correct if
you allow the user to select only one radio button from a group of radio
button? Ans: a
36.
Which of the following is NOT a valid attribute
for the <link> element in HTML 5.0? Ans: a
37.
Which of the following is NOT a valid attribute
for the <video> element in HTML5.0? Ans: c
No comments:
Post a Comment