In HTML5, the autofocus attribute:
A
You work as a developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You have been instructed to make sure that multiple handlers are registered for a touch event by making use of a JavaScript
method.
Which of the following actions should you take?
C
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You are running a training exercise for junior developers. You are currently discussing an object of the Web Storage
specification that is designed for scenarios where the user is carrying out a single transaction.
Which of the following is the object being discussed?
D
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing a property associated with various
Document Object Model (DOM) objects and methods. This property recovers the parent object in the document hierarchy.
Which of the following is the property being discussed?
D
Explanation:
http://msdn.microsoft.com/en-us/library/ie/hh772281(v=vs.85).aspx
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You are running a training exercise for junior developers. You are currently discussing Scalable Vector Graphics (SVG). You
have reached the section that deals with presentation elements and their corresponding attributes and DOM interfaces.
Which of the following is included in this section?
C
Which two code segments declare JavaScript functions? (Choose two.)
C D
Explanation:
Example:
function add(x, y) {
return x + y;
}
var t = add(1, 2); alert(t); //3
Example:
//x,y is the argument. 'returnx+y' is the function body, which is the last in the argument list. var add = new Function('x', 'y',
'return x+y'); var t = add(1, 2);
alert(t); //3
Incorrect:
Not A: funct keyword not used in JavaScript
Which two terms represent interfaces in the File API? (Choose two.)
B D
Explanation:
The File Interface
This interface describes a single file in a FileList and exposes its name. It inherits from Blob.
IDL
[Constructor(Blob fileBits, [EnsureUTF16] DOMStringfileName)] interface File : Blob {
readonly attribute DOMString name; readonly attribute Date lastModifiedDate;
};
You need to retrieve a value from local storage by using the key "aardvark." Which code fragment should you use?
A
Which three events are valid for the HTML CANVAS element? (Choose three.)
A B E
Explanation:
B: You can also detect a mouse click on your canvas. Again, this is done with addEventListener. There are quite a few
mouse events you can detect: mousedown, mouseup, mousemove, mouseout and mouseover.
E: MouseHover Event Mouse Hover Event is a combination of two mouse events MouseOver and MouseOut so it makes
easier for the developer to handle the hover event easily.
Note:
* If you want to target a touch-enabled device like an iPad, iPhone, Android tablet or phone, etc, then you need the touch
events. These events are touchstart, touchend, touchcancel, touchleave, touchmove.
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing a technology that is described as a
language used to save configuration settings and information.
Which of the following is the technology being discussed?
B
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You are currently creating a page for ABC.com. You would like to place many HTML elements adjacent to one another.
You have to identify the CSS properties that could be used to achieve your goal.
Which of the following are suitable properties?
B
Which HTML5 tag is used to display text with a fixed-width font and preserves both spaces and line breaks?
C
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing an HTML5 input attribute that
provides a way to set default text until focus is placed in an element.
Which of the following is the input attribute being discussed?
C
Which code fragment prepares the HTML5 application to be used offline?
B
Which code fragment will display an image file while the video is downloading?
B
a defines