1.

Which of the following property defines in a shorthand form the width, style, and color for the bottom border of an element?(a) border-bottom(b) border-bottom-color(c) border-bottom-all(d) none of the mentionedI had been asked this question at a job interview.Query is from Border Elements topic in chapter CSS Text, Borders and Images of CSS

Answer» CORRECT OPTION is (a) border-bottom

The EXPLANATION is: SYNTAX: border-bottom: border-width border-style border-color;


Discussion

No Comment Found

Related InterviewSolutions