Which type of Web Storage is designed to store data for the duration of the user's browsing session?
localStorage
temporaryStorage
browserStorage
sessionStorage
Which HTML5 input type is used to let the user enter a URL?
url
web
link
text
How do you store custom data associated with an HTML element, specifically for JavaScript access?
By embedding data directly within the element's content
Utilizing data-* attributes
data-*
Through the contenteditable attribute
contenteditable
Using the hidden attribute
hidden
What is the primary purpose of the HTML5 <canvas> element?
To structure page layout and sections.
To display static vector graphics.
To embed pre-existing images.
To create interactive animations and graphics.
What HTML5 input type allows the user to select a color and provides a visual color picker?
hue
range
color
Which HTML5 input type is used to restrict user input to a valid email address?
mail
email
What does the 'srcset' attribute allow you to do with images in responsive web design?
Embed videos directly into the webpage.
Specify different image sources based on the user's internet speed.
Set the image as a background image for the webpage.
Control the animation speed of animated GIFs.
Which HTML tag is used to embed external content from another source, like a webpage, into the current HTML document?
What is the primary purpose of Web Workers in HTML5?
To manage network requests
To manipulate the DOM directly
To perform CPU-intensive tasks in the background
To handle user input events
Which HTML5 API is used to obtain the user's geographical location?
Web Storage API
Fetch API
Geolocation API
Web Workers API