CSS Tutorial

Setting Borders on all Sides

<!DOCTYPE html>
<title>Example</title>
<style>
  div {
    padding: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: orange;
  }
</style>
<div>
  This 'div' has border styles applied using the border-width, border-style, and border-color properties.
</div>