Unit 2

CSS Colors, Fonts and Size



CSS Border

The CSS border property defines a border around an HTML element. 

Tip: You can define a border for nearly all HTML elements.



CSS Padding

The CSS padding property defines a padding (space) between the text and the border.



CSS Margin

The CSS margin property defines a margin (space) outside the border.