Border

The CSS Border property it is used to set the border of an html element.

The Border properties are:

  • border-color
  • border-style
  • border-width

Border example:

<html>
<head>

</head>
<body>

Html element with no border.

Html element with solid border and color blue.

Paragraph with medium border.

Paragraph with double border.

</body> </html>



Html element with no border.

Html element with solid border and color blue.

Paragraph with medium border.

Paragraph with double border.