BORDER SIDE Syntax of Border Side is
h1{
border-top-style : ;
border-left-width : ;
border-right-color: ;
}
Types of Border Side are
For eg:
- Border-top-style
- Border-left-style
- Border-right-style
- Border-bottom-style
Program
INPUT
<!DOCTYPE html> <html> <head> <style> body { text-align: center; } /* Four values */ p.four { border-style: dotted solid double dashed; } /* Three values */ p.three { border-style: dotted solid double; } /* Two values */ p.two { border-style: dotted solid; } /* One value */ p.one { border-style: dotted; } </style> </head> <body> <p class="one">Some text.</p> <p class="two">Some text.</p> <p class="three">Some text.</p> <p class="four">Some text.</p> </body> </html>
OUTPUT
![]()