Which HTML5 element is used to embed audio content in a webpage?
Which tag would you use to mark up the output of a command-line program in HTML?
<kbd>
<code>
<samp>
<pre>
What is the primary purpose of the <pre> tag in HTML?
To create a new paragraph with indented text.
To preserve whitespace and line breaks exactly as typed.
To display text in a bold and italicized format.
To display large font sizes for headings.
What is the function of the 'controls' attribute within the <video> tag?
It displays playback controls for the user.
It specifies the video's source URL.
It loops the video continuously.
It automatically plays the video.
Can you nest a <blockquote> element within another <blockquote> element in HTML?
<blockquote>
It depends on the browser's interpretation of nested blockquotes.
Yes, but both blockquotes will have the same indentation level.
Yes, it will create visually nested quotations.
No, nested blockquotes are not allowed in HTML.
What is the primary purpose of Web Workers in HTML5?
To handle user input events
To perform CPU-intensive tasks in the background
To manipulate the DOM directly
To manage network requests
What does SVG stand for in the context of web development?
Standard Vector Graphics
Scalable Vector Graphics
Static Vector Graphics
Simple Visual Graphics
Which type of Web Storage is designed to store data for the duration of the user's browsing session?
sessionStorage
localStorage
browserStorage
temporaryStorage
What HTML5 input type allows the user to select a color and provides a visual color picker?
hue
text
color
range
What is the primary purpose of the class attribute in HTML?
class
Group multiple elements for styling and scripting
Define inline styles for an element
Store temporary data for an element
Specify the element's position in the document outline