
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Color, Style, and Width of Lines in a Single Property with CSS
The border property allows you to specify color, style, and width of lines in one property.
Example
You can try to run the following code to specify border property:
<html> <head> </head> <body> <p style = "border:3px solid green;"> This example is showing shorthand property for border. </p> </body> </html>
Advertisements