Which HTML5 input type is used to let the user enter a URL?
web
link
text
url
Can you nest a <blockquote> element within another <blockquote> element in HTML?
<blockquote>
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.
It depends on the browser's interpretation of nested blockquotes.
Which attribute, when added to an input field, makes it mandatory for the user to fill out before submitting the form?
placeholder
disabled
required
readonly
What does SVG stand for in the context of web development?
Simple Visual Graphics
Static Vector Graphics
Scalable Vector Graphics
Standard Vector Graphics
How do Web Workers communicate with the main script?
Shared memory access
WebSockets
Direct function calls
Message passing (events)
What attribute is used to define a regular expression that user input must match in a form field?
validate
pattern
regex
match
What is the default behavior of a browser when encountering a newline character within a <pre> tag?
<pre>
The newline character creates a line break.
The newline character is replaced with a space.
The newline character is ignored.
The browser displays an error message.
What is the primary purpose of the viewport meta tag in responsive web design?
It specifies the character encoding for the HTML document.
It defines the area of the webpage visible to the user.
It links the HTML document to an external stylesheet.
It embeds JavaScript code into the HTML document.
What is the primary purpose of the HTML5 <canvas> element?
To structure page layout and sections.
To create interactive animations and graphics.
To display static vector graphics.
To embed pre-existing images.
Which HTML5 element is used to represent a scalar measurement within a known range, often displayed as a progress bar?
datalist
progress
meter
range