Html miscellaneous
- 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.
- Which of the following defines a caption for a figure element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The figcaption element can be placed as the first or last child of the figure element. It defines a caption for a figure element. Caption in a table immediately after <table> tag can be given by <caption> tag. The <figure> tag provides section for illustration, diagrams, photos etc. A box else window is defined by <dialog> tag in HTML.