HTML/CSS Quiz

Student Info

HTML

1

The legend element represents a caption for the content of its parent fieldset element

2

A label element nesting an input element is required to have a for attribute with the same value as the input's id

3

In HTML, inline elements do not start on a new line and only take up as much width as necessary.?

CSS


1

The z-index property in CSS controls the vertical stacking order of elements that overlap.

2

The !important rule in CSS can be used to override other style declarations.