Computer Applications
CSS is widely used by web developers. Write any four property values of CSS.
CSS
3 Likes
Answer
Four property values of CSS are as follows:
- color — It sets the color of a text.
For example,P {Color : red; } - background-color — It sets the background color for HTML document.
For example,Body {background-color : blue; } - border-style — This property sets the style of an element border. This property can have from one to four values.
For example,P {border-style : solid; } - margin — CSS has properties for specifying the margin for each side of an element; margin-top, margin-right, margin-bottom, margin-left.
For example,P {margin-top : 40px; }
Answered By
2 Likes