1.

Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration?(a) border(b) border-top(c) border-top-corner(d) border-top-styleI had been asked this question in exam.This question is from CSS border topic in chapter CSS Text, Borders and Images of CSS

Answer»

The CORRECT choice is (B) border-top

Explanation: The border-top shorthand PROPERTY sets all the top border PROPERTIES in one declaration.



Discussion

No Comment Found

Related InterviewSolutions