The <!DOCTYPE html> declaration is case-sensitive.
False
The <title> tag is placed inside the <body> section.
False
The <meta> tag is an empty element.
True
<meta name="author" content="Balbharati"> is a valid use of the meta tag.
True
The charset attribute is used with the <link> tag.
False
<input type="color"> allows the user to select a color from a color picker.
True
The min and max attributes can be used with <input type="number">.
True
The pattern attribute uses JavaScript regex to define an input pattern.
False
The autofocus attribute can be used on multiple input fields in a single form.
False
The readonly and disabled attributes have the exact same effect on an input field.
False
CSS rules are made up of a selector and a declaration block.
True
p {color: red;} is an example of an inline style.
False
The id selector has a higher specificity than the class selector.
True
margin: 10px 20px; will apply a 10px margin to the top and bottom, and a 20px margin to the left and right.
True
position: static; is affected by the top, bottom, left, and right properties.
False
An element with position: absolute; is positioned relative to its nearest positioned ancestor.
True
float: left; moves an element as far left as possible within its containing element.
True
display: block; elements do not start on a new line.
False
The <dl> tag is used to define an ordered list.
False
The <dd> tag stands for "definition data".
False
<ol type="A"> will create a list numbered with uppercase letters.
True
The list-style-type property can be used to remove bullets from a <ul> list.
True
The <audio> tag is supported in all major browsers without the need for plugins.
True
The controls attribute adds audio controls like play, pause, and volume.
True
The preload="none" attribute ensures the audio/video does not preload any data.
True
The <video> tag can only use .mp4 video files.
False
The poster attribute for video requires a URL to an image file.
True
An image map can only have rectangular clickable areas.
False
The usemap attribute's value must be prefixed with a # symbol.
True
The <area shape="poly"> requires three coordinates (x, y, radius).
False
An <iframe> can be used to embed a YouTube video on a page.
True
The srcdoc attribute of <iframe> overrides the src attribute.
True
Inline styles have the highest specificity in CSS.
True
External CSS files must contain HTML tags.
False
The text-decoration: none; rule is often used to remove underlines from links.
True
font-family: "Times New Roman", Times, serif; is an example of a font stack.
True
The letter-spacing property increases or decreases the space between characters.
True
The :hover pseudo-class selects an element when the mouse is over it.
True
z-index only works on positioned elements (position: absolute, relative, fixed, or sticky).
True
The box-shadow property can create an inset shadow.
True
The cursor: pointer; value typically indicates a link.
True
The opacity property value can be from 0.0 (fully transparent) to 10.0 (fully opaque).
False
The visibility: hidden; property hides an element but the space it occupied remains.
True
The text-transform: capitalize; value makes all characters uppercase.
False
A class name can start with a number in HTML5.
False
Multiple HTML elements can share the same class name.
True
Only one HTML element can have a specific id name on a single page.
True
The padding property values are written in the order: top, right, bottom, left.
True
The margin: 0 auto; rule is commonly used to center a block-level element horizontally.
True
The border-collapse: collapse; property is used with tables to remove space between borders.
True