Question 10
Read the statements given below carefully and select the correct option.
Statement 1: If an element is styled externally using both the class and the ID, then for the same attribute, it will acquire styling from the ID.
Statement 2: If an element is styled internally using ID and class selector as well as using inline styling for the same style attribute, then it will always acquire inline styling.
Both statements 1 and 2 are correct
Both statements 1 and 2 are incorrect
Statement 1 is correct but statement 2 is incorrect
Statement 2 is correct but statement 1 is incorrect