Which feature allows JavaScript functions to be called asynchronously?
Which feature allows JavaScript functions to be called asynchronously?A . try...catchB . for...inC . async/awaitD . thisView AnswerAnswer: C
What is an important consideration when using images on mobile webpages?
What is an important consideration when using images on mobile webpages?A . Use high-resolution images for better clarity.B . Ensure images are responsive to fit different screen sizes.C . Always use images in BMP format for compatibility.D . Limit the use of images to reduce webpage size.View AnswerAnswer: B
What is the purpose of the HTML5 <output> element?
What is the purpose of the HTML5 <output> element?A . To store data locally on the user's browser.B . To create an interactive slider control.C . To display the result of a calculation or user action.D . To produce a 3D graphics output.View AnswerAnswer: C
In JavaScript, how are promises used?
In JavaScript, how are promises used?A . To iterate over arrays.B . To handle potential future results of an operation.C . To style HTML elements.D . To create new HTML elements.View AnswerAnswer: B
Which feature is added in CSS3?
Which feature is added in CSS3?A . Pseudo-classesB . Media QueriesC . Box ModelD . Inline stylingView AnswerAnswer: B
What functionality does the HTML5 Drag-and-Drop API offer?
What functionality does the HTML5 Drag-and-Drop API offer?A . Increasing the speed of page loading.B . Allowing users to drag and drop elements within and between web pages.C . Encrypting user data.D . Automatically translating web pages.View AnswerAnswer: B
Where is JavaScript code typically embedded in an HTML document?
Where is JavaScript code typically embedded in an HTML document?A . Within the <link> tag in the head section.B . Inside the <script> tag, either in the head or body sections.C . Directly within HTML tags as an attribute.D . Inside the <style> tag in the body section.View AnswerAnswer: B
What is SASS primarily used for in web development?
What is SASS primarily used for in web development?A . To create complex animations.B . To write more maintainable, modular CSS code.C . To automatically optimize images.D . To enhance the performance of JavaScript.View AnswerAnswer: B
What is the role of the placeholder attribute in HTML5 form elements?
What is the role of the placeholder attribute in HTML5 form elements?A . To create a tooltip for the form element.B . To provide a default value that appears in the form element.C . To define a CSS class for the form element.D . To specify a label for the...
How can CSS3 contribute to creating an accessible user interface?
How can CSS3 contribute to creating an accessible user interface?A . By enabling JavaScript interactions.B . By using :focus and :hover states effectively.C . By optimizing images for faster loading.D . By using fixed units for font sizes.View AnswerAnswer: B