What is the primary purpose of Web Workers in HTML5?
To manipulate the DOM directly
To perform CPU-intensive tasks in the background
To manage network requests
To handle user input events
Which HTML5 input type is used to restrict user input to a valid email address?
url
text
mail
email
What does SVG stand for in the context of web development?
Standard Vector Graphics
Simple Visual Graphics
Static Vector Graphics
Scalable Vector Graphics
Which HTML element is used to indicate a lengthy quotation from another source?
<q>
<blockquote>
<cite>
<code>
What is the primary purpose of the HTML5 <canvas> element?
To create interactive animations and graphics.
To structure page layout and sections.
To embed pre-existing images.
To display static vector graphics.
Which type of Web Storage is designed to store data for the duration of the user's browsing session?
localStorage
browserStorage
temporaryStorage
sessionStorage
Which HTML tag is used to embed external content from another source, like a webpage, into the current HTML document?
What attribute is used to define a regular expression that user input must match in a form field?
regex
pattern
match
validate
How do you store custom data associated with an HTML element, specifically for JavaScript access?
Through the contenteditable attribute
contenteditable
Using the hidden attribute
hidden
Utilizing data-* attributes
data-*
By embedding data directly within the element's content
Which global attribute indicates that an element can be dragged and dropped using JavaScript?
tabindex
draggable