Outline-style

The   property is used in CSS and certain HTML elements. It specifies the linetype of the  around the selected object, rendering each side the same as the others.

Values

 * - The outline is a series of dots.


 * - The outline is a series of short line segments.


 * - The outline is a single line.


 * - The outline is two single lines. The  is the sum of the two lines and the space between them.


 * - The outline looks as though it were carved into the canvas.


 * - The opposite of . The outline looks as though it were coming out of the canvas.


 * - The outline makes the box look as though it were embedded in the canvas.


 * - The opposite of . The outline makes the box look as though it were coming out of the canvas.

HTML example:

Outline this text

CSS example:

h1 { outline:medium dotted white; }