This page shows four boxes with different border styles: solid, dotted, dashed, and double. Each box has some padding and margin for spacing.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Border Styles Example</title>
<style>
.solid-border {
border-style: solid;
border-width: 0.2rem;
border-color: #007acc;
padding: 1rem;
margin: 1rem 0;
}
.dotted-border {
border-style: dotted;
border-width: 0.2rem;
border-color: #e67e22;
padding: 1rem;
margin: 1rem 0;
}
.dashed-border {
border-style: dashed;
border-width: 0.2rem;
border-color: #27ae60;
padding: 1rem;
margin: 1rem 0;
}
.double-border {
border-style: double;
border-width: 0.4rem;
border-color: #c0392b;
padding: 1rem;
margin: 1rem 0;
}
</style>
</head>
<body>
<section class="solid-border">This box has a solid border.</section>
<section class="dotted-border">This box has a dotted border.</section>
<section class="dashed-border">This box has a dashed border.</section>
<section class="double-border">This box has a double border.</section>
</body>
</html>