Programming Code Center(PCC)
[CSS]

(PCC)::[How-to-Set-different-borders-on-each-side]::[css]

File Name : index.html

<!DOCTYPE html>
<html>
<head>
<style>
p.one {
  border-style: dotted solid dashed double;
}

p.two {
  border-style: dotted solid dashed;
}

p.three {
  border-style: dotted solid;
}

p.four {
  border-style: dotted;
}
</style>
</head>
<body>

<p class="one">This is some text in a paragraph.</p>
<p class="two">This is some text in a paragraph.</p>
<p class="three">This is some text in a paragraph.</p>
<p class="four">This is some text in a paragraph.</p>

</body>
</html>

Output :

This is some text in a paragraph.

This is some text in a paragraph.

This is some text in a paragraph.

This is some text in a paragraph.