<html>
<head>
<style>
h1 {
border-left-style: solid;
border-left-width: thin;
}
div {
border-style: solid;
border-left-width: thin;
}
</style>
</head>
<body>
<h1>A heading with a thin left border</h1>
<div>A div element with a thin left border.</div>
<p><strong>Note:</strong> Always declare the border-left-style or the border-style property before the border-left-width property. An element must have a border before you can change the color.</p>
</body>
</html>