You can set the border of the element by using border properties.
Example of Code
<style>
#example-Setting-Borders-on-all-Sides-div{
padding: 20px;
border-width: 1px;
border-style: solid;
border-color: orange;
}
</style>
</head>
<body>
<div id="example-Setting-Borders-on-all-Sides-div">
This 'div' has border styles applied using the border-width, border-style, and border-color properties.
</div>
Output
This 'div' has border styles applied using the border-width, border-style, and border-color properties. 