<html>
<head>
<style>
h1 {
border-style: solid;
border-width: 15px;
}
div {
border-style: solid;
border-width: 15px;
}
</style>
</head>
<body>
<h1>A heading with a 15px thick border</h1>
<div>A div element with a 15px thick border.</div>
<p><strong>Note:</strong> The border-width property does not work if it is used alone. Use the border-style property to set the border first.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_border-width5 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:35:57 GMT -->
</html>