What is the primary purpose of the viewport meta tag in responsive web design?
It defines the area of the webpage visible to the user.
It embeds JavaScript code into the HTML document.
It links the HTML document to an external stylesheet.
It specifies the character encoding for the HTML document.
Which HTML element is used to indicate a lengthy quotation from another source?
<q>
<code>
<blockquote>
<cite>
What HTML5 input type allows the user to select a color and provides a visual color picker?
color
hue
range
text
What does SVG stand for in the context of web development?
Standard Vector Graphics
Simple Visual Graphics
Static Vector Graphics
Scalable Vector Graphics
What HTML5 tag provides a predefined list of options for an input field, offering suggestions to the user as they type?
list
option
select
datalist
What is the function of the 'controls' attribute within the <video> tag?
It automatically plays the video.
It specifies the video's source URL.
It displays playback controls for the user.
It loops the video continuously.
Which HTML5 API is used to obtain the user's geographical location?
Fetch API
Web Workers API
Geolocation API
Web Storage API
Which attribute is used to control the order in which elements receive focus when the user navigates with the Tab key?
hidden
tabindex
contenteditable
draggable
Which type of Web Storage is designed to store data for the duration of the user's browsing session?
sessionStorage
localStorage
browserStorage
temporaryStorage
What is a key difference between using <iframe> and <object> for embedding content?