What is the default behavior of a browser when encountering a newline character within a <pre> tag?
<pre>
The newline character is replaced with a space.
The newline character is ignored.
The browser displays an error message.
The newline character creates a line break.
Which HTML5 element is used to embed audio content in a webpage?
What is the function of the 'controls' attribute within the <video> tag?
It loops the video continuously.
It automatically plays the video.
It specifies the video's source URL.
It displays playback controls for the user.
Can you nest a <blockquote> element within another <blockquote> element in HTML?
<blockquote>
Yes, it will create visually nested quotations.
It depends on the browser's interpretation of nested blockquotes.
No, nested blockquotes are not allowed in HTML.
Yes, but both blockquotes will have the same indentation level.
What is a key difference between using <iframe> and <object> for embedding content?
Which HTML5 element is used to represent a scalar measurement within a known range, often displayed as a progress bar?
progress
datalist
range
meter
Which attribute is used to control the order in which elements receive focus when the user navigates with the Tab key?
draggable
hidden
contenteditable
tabindex
Which HTML element is used to indicate a lengthy quotation from another source?
<q>
<code>
<cite>
How is data stored in localStorage?
As arrays only
As strings only
As strings, but can represent other data types
As JSON objects only
What does the hidden attribute do to an HTML element?
Completely removes the element from the document
Prevents the element from being displayed on the page
Makes the element draggable by the user
Prevents the element from receiving focus