The <section> element always requires a heading (<h1>-<h6>). False
The :nth-child() pseudo-class can be used to select even or odd table rows. True
The localStorage object in JavaScript stores data with no expiration date. True
The em unit in CSS is always relative to the font-size of the root <html> element. False
The <datalist> tag provides an "autocomplete" feature for <input> elements. True
The box-sizing: border-box; property includes padding and border in an element's total width and height. True
The async attribute in the <script> tag pauses HTML parsing while the script is fetched and executed. False
The :valid and :invalid CSS pseudo-classes can style form fields based on their input validity. True
The <iframe> tag is used to embed another web page within the current page. True
The flex-direction: column; property stacks flex items vertically. True
The sessionStorage object persists data even after the browser is closed. False
The alt attribute for an <img> tag is mandatory for writing valid HTML. True
The transition property can be used to animate changes in an element's opacity. True
The <nav> element should be used for any group of links, even in the footer. False
The Array.map() method in JavaScript creates a new array by transforming every element in the original array. True
The vh unit stands for "viewport height" and is equal to 1% of the height of the viewport. True
The defer attribute in the <script> tag ensures the script is executed only after the HTML is fully parsed. True
The object-fit: cover; property can be used to make an image fill its container without stretching. True
The <label> tag's for attribute should match the id of the associated form element. True
The fetch() API is the modern way to make HTTP requests in JavaScript. True
The :hover pseudo-class works on touchscreen devices in the same way as on desktops. False
The grid-template-areas property in CSS Grid allows you to name sections of your layout. True
The <b> and <strong> tags have exactly the same visual and semantic meaning. False
The !important rule in CSS gives a style higher specificity than any other declaration. True
The border-collapse: collapse; property removes the spacing between table cells. True