Border

The   property is used in CSS and some special HTML tags. It makes a border around the selected text, making each side the same color, effects, etc. A  is not necessary for this property to work, but if you want to specify a specific border for each side of an object, use ,  ,  , or  , to specify a different border for each side. The  property can also be used to specify the border wrapping around the text.

Values
You can use either,  ,  , or any number in pixels to specify the thickness of the border. You can also use,  , or   as the linetype of the border.

To apply this in an HTML document, use:

Border this text

That generates: Border this text

This is a border with the  thickness applied: Border this text

This is a border with the  thickness applied: Border this text

This is a border with the  linetype applied on a   thickness border: Border this text

To apply this in CSS, in the  element for example, use:

h1 { background-color:black; color:white; border:5px solid red; }