Direction: Choose the correct option
Q1.
a:hover {
color: red;
}When does this style apply?Direction: Choose the correct option
Q2.
input:focus {
border-color: blue;
}When does this style apply?Direction: Choose the correct option
Q3.
tr:nth-child(even) {
background: #f2f2f2;
}What does this CSS do?Direction: Choose the correct option
Q4.
What is the correct order for link pseudo-classes to avoid conflicts?
Direction: Choose the correct option
Q5.
p:first-child {
font-weight: bold;
}Which paragraph gets bold text?