Vidyalelo
CSS · Q101

CSS Text, Borders and Images

Programming · CSS · question 101

Q101

Which of the following property defines in a shorthand form the width, style, and color for the top border of an element?

A.
border-style
B.
border-height
C.
border-width
D.
border-top
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Syntax: border-top: border-width border-style border-color;