Html miscellaneous
- Which of the following elements in HTML5 defines video or movie content?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The media to which linked document is optimized is given by <media> 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 <video> elements, <audio> element contains additional files or streams like music, recording, etc.
- Which of the following defines graphic drawing using JavaScript?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
One or more class names are specified by the global <class> attribute. The canvas tag is only a container for graphics, you must use a script to actually draw the graphics. <graphics> and <draw> are imaginary part.
- Which of the following defines the result of a calculation?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The output tag represents the result of a calculation (like one performed by a script). <keygen> has been removed from HTML5 and it specifies a name to <keygen> element which refers to data after it’s submission. <datalist> 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 <details> tag.
- Which of the following tag defines the progress of a task?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Scalar measurement within range or may be a fractional value can be displayed through <meter> tag. Use the progress tag in conjunction with JavaScript to display the progress of a task. <wbr> is used for whether it is okay to add a line break in a text.
- Which of the following defines a command/menu item that the user can invoke from a popup menu?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The menuitem tag is new in HTML5 and as of now is only supported in Firefox 8+ versions. <menuitem> defines a command item that the user can invoke from a popup menu. A list of of commands is defined by <menu> tag. <nav> is set of navigation links. One or more class names are specified by the global <class> attribute.