Q
Which CSS property sets the color of an element's border?

Answer & Solution

Answer: Option C
Solution:
The border-color property in CSS sets the color of an element's border.
Related Questions on Average

Which color format uses predefined color names like red, blue, green, etc.?

A). Hexadecimal codes

B). RGB values

C). Color names

D). HSL values

Which CSS property is used to set the color of an element using RGB values?

A). color

B). background-color

C). border-color

D). box-shadow

Which color format uses predefined color names like red, blue, green, etc.?

A). Hexadecimal codes

B). RGB values

C). Color names

D). HSL values

Which CSS property sets the color of an element's border?

A). color

B). background-color

C). border-color

D). box-shadow

How are colors represented using hexadecimal codes in CSS?

A). As words like red, blue, green, etc.

B). As RGB values

C). As six-digit codes starting with a # symbol

D). As percentages in HSL format

How are colors represented using hexadecimal codes in CSS?

A). As words like red, blue, green, etc.

B). As RGB values

C). As six-digit codes starting with a # symbol

D). As percentages in HSL format

What does the color property in CSS use to specify colors using HSLA values?

A). Red, Green, Blue, Opacity

B). Hue, Saturation, Lightness, Alpha

C). Hexadecimal codes

D). RGB values with an alpha channel

Which CSS property is used to set the text color of an element?

A). color

B). background-color

C). border-color

D). box-shadow

Which CSS property is used to set the color of an element using RGB values?

A). color

B). background-color

C). border-color

D). box-shadow

What does RGBA stand for in CSS color values?

A). Red, Blue, Green, Alpha

B). Red, Green, Blue, Opacity

C). Realistic Brightness Adjustment

D). RGB with Alpha channel for opacity