Programming Code Center(PCC)
[CSS]

(PCC)::[How-to-Set-the-width-of-the-top-border]::[css]

File Name : index.html

<!DOCTYPE html>
<html>
<head>
<style>
p {
  border-style: solid;
  border-top-width: 15px;
}
</style>
</head>
<body>

<p><b>Note:</b> The "border-top-width" property does not work if it is used alone. Use the "border-style" property to set the borders first.</p>

</body>
</html>

Output :

Note: The "border-top-width" property does not work if it is used alone. Use the "border-style" property to set the borders first.