add border to block css code example Example: how to add border in css .div1{ border: 10px; border-color: #000000; border-style: solid; }