The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.


<!DOCTYPE html>
            p {
                border: 1px solid red;
                outline: green dotted thick;
            IE8 supports the outline properties only if a !DOCTYPE is