HTML Attributes
- Which of the following is used for plug-in content?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
<embed> tag is new in HTML5 which also helps in validation of HTML5 page. It has attributes like height, src, type and width. HTML4 does not support this tag. Multiple media sources for video , audio and pictures are provided by <source> tag. <meter> tag gives a scalar measurement within a particular range. Progress of a task is shown by <progress> element.
- Which attribute does not lie inside <a> and <area> elements?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Preload is the attribute of the <video> element. Media, ping, hreflang, rel are the attribute used with <a> and <area> elements.
- Which is the new attribute of element that is used to change the appearance of checkbox?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The indeterminate is actually not an attribute, it is the property of checkbox which can be change via JavaScript, e.g. Var checkbox=document.getElementById(“any-checkbox”); Checkbox.indeterminate=true;
- Which of the following does not lie under the attribute of <input> and is not supported by Opera?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
<input> element type has new values as ‘url’, ‘email’, ‘datetime’, ‘date’, ‘month’, ‘tel’, ‘time’, ‘number’, ‘search’, ‘color’, ‘range’, ‘datetime-local’, ‘week’.
- What can be used to verify a displayed graphics?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Region checkpoints are used to verify a displayed graphics. It is a kind of test operation which gives verification of application’s window or control is displayed correctly or not. Object’s property is verified by region checkpoints which is test operation. Local storage is for storing data.