What HTML5 input type allows the user to select a color and provides a visual color picker?
color
range
hue
text
What attribute is used to define a regular expression that user input must match in a form field?
pattern
validate
match
regex
What is the primary purpose of the class attribute in HTML?
class
Define inline styles for an element
Store temporary data for an element
Specify the element's position in the document outline
Group multiple elements for styling and scripting
What does the hidden attribute do to an HTML element?
hidden
Makes the element draggable by the user
Prevents the element from being displayed on the page
Prevents the element from receiving focus
Completely removes the element from the document
What does the 'srcset' attribute allow you to do with images in responsive web design?
Embed videos directly into the webpage.
Set the image as a background image for the webpage.
Specify different image sources based on the user's internet speed.
Control the animation speed of animated GIFs.
Which type of Web Storage is designed to store data for the duration of the user's browsing session?
temporaryStorage
sessionStorage
browserStorage
localStorage
What is the purpose of the <figcaption> element in HTML5?
To define a table caption.
To provide a caption for a figure.
To create a figure inside an image.
To insert a figure from an external source.
Which global attribute is used to uniquely identify an HTML element within a document?
id
data-*
contenteditable
What does SVG stand for in the context of web development?
Simple Visual Graphics
Standard Vector Graphics
Scalable Vector Graphics
Static Vector Graphics
Which global attribute indicates that an element can be dragged and dropped using JavaScript?
tabindex
draggable