Border Properties:
You can assign a border of a tag by placing its border property. There are 4
borders, i.e. top , bottom , left and right. The default border is zero for text
based selectors.
A border attribute can be set in following sequence.
Width: Width of borders can be set in pixels , points or in percents.
Style: It will set the border style. e.g. Solid , dotted none etc.
Color: It will set the color of the border.
Examples:
#abc { border:1px solid white; }
P { border-left: 2px solid #ff7f77; }
P { border-right:2px solid gray; }
input { border:1px solid green; }
Note: If you use only the keyword "border" then it will consider as
all the four sides of border.

Some other CSS Properties:
1. Width:
With this property you can change the width of an element. For
example:
.abc { width: 120px;
}
2. Height:
Same like width you can change the height also.
A { width:120px; height:200px;
}
3. Padding:
Width padding property you can set the text padding from all the four
corners ( left , right , top and bottom).
P { padding-left:5px;
padding-top: 2px; }

Next Pag