Question 61
Which HTML element is used to play audio files natively on a web page?
The <audio> HTML element is used to embed sound content in documents natively.
Which HTML element is used to play audio files natively on a web page?
The <audio> HTML element is used to embed sound content in documents natively.
Which HTML tag defines a scalar measurement within a known range or a fractional value?
<meter> defines a scalar measurement within a known range, or a fractional value (like disk usage or battery status).
Which CSS property sets the opacity level for an element (0.0 to 1.0)?
opacity sets the transparency level of an element, where 1.0 is completely opaque and 0.0 is fully transparent.
Which CSS pseudo-class selects every element that is the first child of its parent?
:first-child selects any element that is the first child of its parent container.
What is the function of the JavaScript Array.prototype.filter() method?
filter() creates a shallow copy of a portion of a given array, filtered down to just the elements that pass the test.