A. WebRTC B. XMLHttpRequest C. REST API D. JSONP AnswerOption: A
Read More »HTML5
|
What is the contenteditable attribute used for in HTML5?
A. To make an element editable by the user B. To create dynamic content C. To hide content from users D. To lock content from being copied AnswerOption: A
Read More »Which of the following HTML5 elements provides a standard way to embed SVG graphics directly into HTML?
A. <svg> B. <canvas> C. <vector> D. <graphic> AnswerOption: A
Read More »What is the srcset attribute used for in HTML5 <img> tags?
A. To specify alternative text for an image B. To define multiple image sources for different device resolutions C. To link a fallback image D. To set the image title AnswerOption: B
Read More »Which HTML5 element is used to group media content, such as images, videos, and captions?
A. <figure> B. <media> C. <gallery> D. <container> AnswerOption: A
Read More »What is the purpose of the HTML5 drag and drop API?
A. To simplify the process of data visualization B. To enable interactive page transitions C. To allow users to drag and drop elements within a web page D. To manage user authentication AnswerOption: C
Read More »Which HTML5 feature allows a web application to work offline and load faster?
A. Service Workers B. WebRTC C. Geolocation API D. WebAssembly AnswerOption: A
Read More »What is the purpose of the manifest attribute in the <html> tag?
A. To include external stylesheets B. To specify an application cache for offline web applications C. To link to JavaScript libraries D. To define metadata for search engines AnswerOption: B
Read More »Which API in HTML5 is used to store data on the client side with no expiration date?
A. Session Storage B. IndexedDB C. Local Storage D. Cookie AnswerOption: C
Read More »What is the main purpose of the HTML5 WebSocket API?
A. To handle offline storage B. To establish a persistent connection for real-time data exchange C. To create animations D. To enhance page load speeds AnswerOption: B
Read More »Which new form attribute in HTML5 allows the submission of a form without validation?
A. novalidate B. validate C. formaction D. action AnswerOption: B
Read More »What is the use of the datalist element in HTML5?
A. To define a dropdown list of pre-defined options B. To create a table of data C. To display lists of data dynamically D. To group radio buttons AnswerOption: A
Read More »Which of the following input types is NOT introduced in HTML5?
A. color B. date C. file D. email AnswerOption: C
Read More »What does the placeholder attribute do in an HTML5 <input> element?
A. Sets the maximum length of input text B. Provides a hint to the user about what to enter C. Disables the input field D. Specifies the type of data to enter AnswerOption: B
Read More »Which HTML5 element is used to display scalar measurements within a known range?
A. <progress> B. <meter> C. <range> D. <gauge> AnswerOption: B
Read More »
MCQs | eBooks – Textbook Solutions All types eBook are available
