As is seen below a border is created around any text victimization hypertext mark-up language and CSS on your website. within the example below we've enclosed a paragraph (<p></p>) with a red border.
In the on top of code, the fashion is process the border size (px short for pixel), style type, and border color. the fashion of the border is however the border seems on screen. alternative kinds of border designs embrace dotted, dashed, double, groove, ridge, inset, and outset. The border color defines the colour you would like to use for the border. within the on top of example, the colour code #FF0000 was used, that is that the code for red.
All of the on top of examples use "inline" designs to make the borders. you'll conjointly use "embedded" vogue sheets or "external" vogue sheets. In fact, embedded vogue sheets area unit additional powerful than inline designs. And external vogue sheets area unit additional powerful than embedded vogue sheets.
Use embedded vogue sheets if you would like to use constant border to multiple objects on constant page. Use external vogue sheets if you would like to use constant border to multiple objects on multiple pages (or across your whole site).
To learn additional, see Inline vogue Sheets, Embedded vogue Sheets, and External vogue Sheets.
For additional data, look at the assorted border properties on the CSS Properties list.