Test Series - html

Test Number 35/72

Q: Which of the following defines a command/menu item that the user can invoke from a popup menu?
A. 
B. 
C. 
D. 
Solution: The menuitem tag is new in HTML5 and as of now is only supported in Firefox 8+ versions.  defines a command item that the user can invoke from a popup menu. A list of of commands is defined by  tag. 
Q: Which of the following tag defines the progress of a task?
A. 
B. 
C. 
D. 
Solution: Scalar measurement within range or may be a fractional value can be displayed through  tag. Use the progress tag in conjunction with JavaScript to display the progress of a task.  is used for whether it is okay to add a line break in a text.
Q: Which of the following defines the result of a calculation?
A. 
B. 
C. 
D. 
Solution: The output tag represents the result of a calculation (like one performed by a script).  has been removed from HTML5 and it specifies a name to  element which refers to data after it’s submission.  is a list of pre-defined option for input element. The additional details the user wants to know as per the demand is fulfilled by 
tag.
Q: Which of the following defines graphic drawing using JavaScript?
A. 
B. 
C. 
D. 
Solution: One or more class names are specified by the global  attribute. The canvas tag is only a container for graphics, you must use a script to actually draw the graphics.  and  are imaginary part.
Q: Which of the following elements in HTML5 defines video or movie content?
A. 
B. 
C. 
D. 
Solution: The media to which linked document is optimized is given by  tag. Before HTML5, videos could only be played with a plug-in (like flash). The HTML5 video element specifies a standard way to embed a video in a web page. As like 
Q: Which of the following defines some content aside from the content it is placed in (like a sidebar)?
A. 
B. 
C. 
D. 
Solution: Content related to surroundings is given by 
Q: Which of the following defines a visible heading for a details element?
A. 
B. 
C. 
D. 
Solution: The main content of document is in 
. is used to highlight the text to indicate it’s uniqueness. The summary tag defines a visible heading for the details element. The heading can be clicked to view/hide the details.
Q: Which of the following defines additional details that the user can view or hide?
A. 
B. 
C. 
D. 
Solution: The additional details the user wants to know as per the demand is fulfilled by 
tag. The details tag can be used to create an interactive widget that the user can open and close. Any sort of content can be put inside the details tag.
is self defined independent content which contains data which can be anything including photos, videos, and other contents. It provides a section. The
tag provides section for illustration, diagrams, photos etc. Content related to surroundings is given by
Q: Which event is fired as the mouse is moving over an element when a drag is occurring?
A. dragover
B. dragenter
C. dragstart
D. dragleave
Solution: The dragover event is fired as the mouse is moving over an element when a drag is occurring. Much of the time, the operation that occurs during a listener will be the same as the dragenter event. When draggable element enters a drop target then dragenter event has occurred. A dragleave event occurs when it leaves the valid drop target. Whenever a user starts to drag an element, dragstart is fired.
Q: The _________ event is fired on the element where the drop occurred at the end of the drag operation.
A. drag
B. drop
C. dragstart
D. dragenter
Solution: The drop event is fired on the element where the drop occurred at the end of the drag operation. A listener would be responsible for retrieving the data being dragged and inserting it at the drop location. Whenever user starts to drag an element, dragstart is fired. When draggable element enters a drop target then dragenter event is occurred. When element is being dragged, drag event is happened.

You Have Score    /10