What is CSS border?

Asked: Avni Sharma


Gungun KM

CSS Border

CSS Border properties used to design border around an element link <p>, <div>, <span>, etc. Basically, We can set the border size like (1px, 2px, 3px, 4px, 5px,.....), border look like (solid, dotted, dubble, etc), and last one border color.

CSS Border Properties:

  • border
  • border-top
  • border-right
  • border-bottom
  • border-right

Syntax Of CSS Border:

p, div, span {

  border: 2px solid red;


0 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

© 2023 GDATAMART.COM (All Rights Reserved)