Thursday, 20 August 2015

oDesk HTML5 Test Interview Questions and Answers for Experienced basic advanced 2015-2016

oDesk HTML5 Test Interview Questions and Answers for Experienced basic advanced 2015-2016,oDesk HTML5 Test Interview Questions and Answers 2015,Top 20 oDesk HTML5 Test Interview Questions,oDesk HTML5 Test Interview Questions & Answers,oDesk HTML5 Test Interview Questions and Answers For Freshers and Experienced, oDesk HTML5 Test Frequently Asked Interview Questions,Freshers Latest oDesk HTML5 Test Technical Interview Questions & Answers,F2F Interview,oDesk HTML5 Test, Interview Questions & Answers,What would be some common oDesk HTML5 Test interview questions,oDesk HTML5 Test interview questions and answers for 2 years,oDesk HTML5 Test Developer Interview Questions,10 Common face to face oDesk HTML5 Test interview questions and answers,oDesk HTML5 Test Interview Questions and Answers,Top 10 oDesk HTML5 Test Interview Questions and Answers 2015,oDesk HTML5 Test (CMS)Interview Question Answer,Technical oDesk HTML5 Test Interview Questions and Answers for getting Job,Where can I find good oDesk HTML5 Test interview questions,oDesk HTML5 Test job interview questions and answers for freshers,oDesk HTML5 Test interview questions and answers for experienced,10 Tough oDesk HTML5 Test Interview Questions With Smart Answers,oDesk HTML5 Test interview questions and answers for experienced,How to Answer oDesk HTML5 Test Interview Questions,Where can I find good oDesk HTML5 Test interview questions ,Download oDesk HTML5 Test Interview Questions.

Que: 01 - Which of the following < iframe > attributes are NOT supported in HTML 5.0?
Options:
A. height
B. marginheight
C. sandbox
D. scrolling

Que: 2 - Whichtag event is fired when the user leaves the document?
Options:
A. onunload
B. onundo
C. onredo
D. onerror

Que: 03 - Which of the following is NOT a valid value for the < iframe > sandbox attribute in HTML 5.0?
Options:
A. url
B. allow-scripts
C. allow-same-origin
D. allow-forms

Que: 04 - Which of the following is an INVALID value for the type attribute of command tag?
Options:
A. checkbox
B. radio
C. command
D. text

Que: 05 - What is the function of the history traversal task source in HTML 5.0?
Options:
A. It is used for features that react to user interaction, for example, keyboard or mouse input.
B. It is used for features that react to DOM manipulations, for example, the things that happen asynchronously when an element is inserted in the document.
C. It is used to queue calls to history.back() and similar APIs.
D. All of the above.

Ques: 06 - 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 > /p >
Options:
A. I use MAC Microsoft!
B. I use MAC Microsoft!
C. I use MAC Microsoft!
D. I use MAC Microsoft!

Ques: 07 - 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?
Options:
A. < a href="mailto:webmaster@xcompany.com" >webmaster< /a >
B. < a href="webmaster@xcompany.com">webmaster< /a >
C. < a http="mail:webmaster@xcompany.com">webmaster< /a >
D. < mail http="send:webmaster@xcompany.com">webmaster< /mail >

Ques: 08 - In HTML 5.0, how will the script be executed if you use the script element shown below?
< script src="script.js" type="text/javascript" defer="defer" >< /script >
Options:
A. The script is fetched and executed immediately, before the user agent continues parsing the page.
B. The script will be executed when the page has finished parsing.
C. The script will be executed asynchronously, as soon as it is available.

Ques: 09 - What is the output when you use the HTML 5.0 code snippet shown below?
< body onload="alert(this)" >
Options:
A. It will alert saying “[object HTMLBodyElement]" when the document is loaded.
B. It will alert saying “[object Window]" when the document is loaded.
C. It will alert saying “[this]" when the document is loaded.
D. The alert message is not properly defined in the body element and an error will be generated when the document is loaded.

Ques: 10 - A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?
Options:
A. < emp >
B. < code >
C. < dfn >
D. < cite >

Ques: 11 - Consider the above code. What will be the impact upon the contents of the element if both the style sheets define the same class? 
This question is based upon the figure shown below:


Options:
A. The contents of the element will be of red color and will inherit all the effects of style.css.
B. The contents of the element will be of blue color and will inherit all the effects of style1.css.
C. The contents of the element will be of white color and will inherit all the effects of style.css and style1.css.
D. None of the style effects will be applied to the contents of the element.

Ques: 12 - Which of the following are valid HTML 5.0 elements?
Options:
A. < canvas >
B. < summary >
C. < aside >
D. < video >
E. All are correct

Ques: 13 - How does a button created by the < button > tag differ from the one created by an < input > tag?
Options:
A. An input tag button can be a reset button too.
B. A button tag button can be a reset button too.
C. An input tag button can include images as well.
D. A button tag can include images as well.

Ques: 14 - Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?
Options:
A. col
B. colgroup
C. rowspan
D. row

Ques: 15 - Which of the following is correct with regard to the oncanplaythrough event fired by media resources in the HTML 5.0 document?
Options:
A. The script will run when the media has reached the end.
B. The script will run when the media is played to the end, without stopping for buffering.
C. The script will run when media data is loaded.
D. The script will run when the length of the media is changed.

Ques: 16 - The following link is placed on an HTML webpage.
< a href="http://msdn.com/" target="_blank" < /a >
What do you infer from it?
Options:
A. It will open the site msdn.com in the same window.
B. It will open the site msdn.com in a new window.
C. It will open the site msdn.com in a frame below.
D. It will not be clickable as it is not formed correctly.

Ques: 17 - While rendering your HTML 5.0 web page, which of the following < link > element files will get skipped by a compliant user agent if you include the link elements shown below in your document?
< link rel="stylesheet" href="A" type="text/plain" > < link rel="stylesheet" href="B" type="text/css" >
Options:
A. A link element whose href is “B"
B. A link element whose href is “A"
C. None of the above

Ques: 18 - What does the icon attribute of the HTML 5.0 command tag define?
< command icon="?" >Click Me!< /command >
Options:
A. It is used to define the url of an image to display as the command.
B. It is used to define the name of the radiogroup this command belongs to.
C. It is used to define if the command is checked or not.
D. It is used to define if the command is available or not.

Ques: 19 - How will you change the value of the cookies and items in the Storage objects of the localStorage attributes in HTML 5.0?
Options:
A. By invoking the window.dialogArguments() API method.
B. By invoking the window. navigator.yieldForStorageUpdates() API method.
C. By invoking the window.navigator.appName API method.

Ques: 20 - What is the role of the < dfn > element in HTML 5.0?
Options:
A. It is used to define important text.
B. It is used to define computer code text.
C. It is used to define sample computer code.
D. It is used to define a definition term

Ques: 21 - Which of the following is not a valid input type of the form tag?
Options:
A. checkbox
B. image
C. hidden
D. button
E. All are valid

Ques: 22 - Which form event is fired on the click of a button using a button tag with its type attribute value equal to submit?
Options:
A. onload
B. onsubmit
C. onunload
D. onreset

Ques: 23 - How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application?
Options:
A. window.top
B. window.parent
C. window.frameElement
D. None of the above

Ques: 24 - 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 >
Options:
A. button
B. command
C. checkbox
D. radio

Ques: 25 - What is the default background color for the canvas element in HTML 5.0?
Options:
A. Black
B. White
C. Transparent
D. Gray

Ques: 26 - Which of the following are valid mouse events in HTML 5.0?
Options:
A. ondblclick
B. ondragstart
C. ondragenter
D. onscroll
E. ondrop
F. All are correct

Ques: 27 - Which of the following languages will you use to paint the graphics designed using the HTML 5.0 < canvas > tag?
Options:
A. VB script
B. JavaScript
C. PostScript
D. None of the above

Ques: 28 - Consider the following items of a < select > list:
< option value="89" >Item 1< /option >
< option value="90" >Item 2< /option >

Which of the following values would be passed on by clicking the submit button on selecting Item 2 from the list? 
A. 89
B. 90
C. Item 1
D. Item 2

Ques: 29 - Which of the following would give a yellow background to the web page?
Note: The code used in the “correct" answer below was deprecated in HTML 4.01! Use styles instead for new code.
Options:
A. < body backcolor="Yellow" >
B. < body background="Yellow" >
C. < body bgcolor="Yellow" >
D. < body color="Yellow" >

Ques: 30 - What is the function of onobsolete, an application cache API method in HTML 5.0?
Options:
A. It reflows the HTML document using updated cached content.
B. It triggers an event when the cache content has been marked as obsolete.
C. It triggers an event when the cache content has been updated.
D. It updates the cache for the current document in the background.

0 comments:

Post a Comment