- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set a dotted line for the border with CSS
To set the dotted line for the border, use the border-style property.
Example
You can try to run the following code to implement border-style property value dotted to set dotted border:
<html> <head> </head> <body> <p style = "border-width:3px; border-style:dotted;"> This is a dotted border. </p> </body> </html>
Advertisements