# How can I include dashed line for border with CSS

JavascriptWeb DevelopmentFront End Scripts

To include a dashed line for the border, use the border-style property.

## Example

You can try to run the following code to implement border-style property value dashed to set dashed border:

<html>
<head>
</head>
<body>
<p style = "border-width:3px; border-style:dashed;">
This is a dotted border.
</p>
</body>
</html>
Published on 17-Apr-2018 08:21:48
Advertisements