<html>
<head>
<style>
h1 {
border-style: solid;
border-width: medium;
}
div {
border-style: solid;
border-width: medium;
}
</style>
</head>
<body>
<h1>A heading with a medium border</h1>
<div>A div element with a medium 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>
</html>