The ________ attribute in the <meta> tag is crucial for defining the character set of the document, with UTF-8 being the most common value.
Answer: charset
To create a tooltip that appears when you hover over an element, you use the ________ attribute.
Answer: title
The ________ CSS property transforms text to uppercase, lowercase, or capitalize the first letter of each word.
Answer: text-transform
The ________ HTML element is used to represent the result of a calculation, typically inside a form.
Answer: <output>
The ________ pseudo-class in CSS selects an element when it gets focus, like when a user clicks on an input field.
Answer: :focus
The ________ value for the position property fixes an element relative to the browser window.
Answer: fixed
The ________ CSS property allows you to specify a delay before an animation or transition starts.
Answer: animation-delay (or transition-delay)
The ________ HTML tag is used to define a container for external applications or interactive content, like a Flash movie (now largely obsolete).
Answer: <embed>
The ________ attribute of the <input> tag specifies a short hint that describes the expected value.
Answer: placeholder
The ________ CSS property controls how an element is displayed on the screen, with common values being none, block, inline, and inline-block.
Answer: display
The ________ value for the cursor property changes the mouse pointer to a hand, indicating a clickable element.
Answer: pointer
The ________ HTML element is used to draw graphics on a web page via scripting (usually JavaScript).
Answer: <canvas>
The ________ CSS property sets the stack order of a positioned element.
Answer: z-index
The ________ media feature in a media query checks if the device is in landscape or portrait orientation.
Answer: orientation
The ________ HTML element defines a section that is quoted from another source.
Answer: <blockquote>
The ________ CSS property defines the space between the lines of text.
Answer: line-height
The ________ value for the font-weight property makes text bold.
Answer: bold
The ________ HTML attribute with the value "lazy" delays loading an image until it is near the viewport.
Answer: loading
The ________ CSS function is used within a calc() function to specify a percentage-based width minus a fixed pixel value.
Answer: calc()
The ________ JavaScript property is used to change the text content of an HTML element.
Answer: textContent
The ________ HTML tag is used to define preformatted text, preserving both spaces and line breaks.
Answer: <pre>
The ________ CSS property specifies whether the background image scrolls with the page or is fixed.
Answer: background-attachment
The ________ HTML element provides a title or explanation for a <figure>.
Answer: <figcaption>
The ________ CSS property is a shorthand for setting all the margin properties in one declaration.
Answer: margin
The ________ JavaScript event occurs when the content of the web page has been fully loaded.
Answer: DOMContentLoaded