Which HTML5 input type is used to restrict user input to a valid email address?
text
mail
email
url
What does the 'srcset' attribute allow you to do with images in responsive web design?
Specify different image sources based on the user's internet speed.
Embed videos directly into the webpage.
Control the animation speed of animated GIFs.
Set the image as a background image for the webpage.
What is the primary purpose of the class attribute in HTML?
class
Specify the element's position in the document outline
Define inline styles for an element
Store temporary data for an element
Group multiple elements for styling and scripting
What does SVG stand for in the context of web development?
Simple Visual Graphics
Scalable Vector Graphics
Standard Vector Graphics
Static Vector Graphics
How do Web Workers communicate with the main script?
Shared memory access
WebSockets
Message passing (events)
Direct function calls
Which of the following file formats is NOT commonly supported by the <video> element?
MP4
WebM
Ogg
BMP
Which HTML tag is used to embed external content from another source, like a webpage, into the current HTML document?
Can you nest a <blockquote> element within another <blockquote> element in HTML?
<blockquote>
No, nested blockquotes are not allowed in HTML.
It depends on the browser's interpretation of nested blockquotes.
Yes, it will create visually nested quotations.
Yes, but both blockquotes will have the same indentation level.
Which HTML tag is most appropriate for displaying a variable name within a code snippet?
<code>
<kbd>
<samp>
<var>
Which HTML5 input type is used to let the user enter a URL?
web
link