Q. If we want to use a nice green dotted border around an image, which css property are we going to use?

  • (A) border-line
  • (B) border-style
  • (C) border-color
  • (D) Both B and C
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both B and C
Explanation: Example :
div {
border-style: dotted;
border-color: green;
}
<div>This is first div</div>
Explanation by: Tina Singh
Example :
div {
border-style: dotted;
border-color: green;
}
<div>This is first div</div>

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
405
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Tina Singh
Publisher
πŸ“ˆ
92%
Success Rate