A CSS comprises of style rules that are interpreted by the browser and then applied to the corresponding elements in your document. A style rule is made of three parts −
− A selector is an HTML tag at which a style will be applied. This could be any tag like
Property − A property is a type of attribute of HTML tag. Put simply, all the HTML attributes are converted into CSS properties. They could be color, border etc.
Value − Values are assigned to properties. For example, colorproperty can have value either red or #F1F1F1 etc.
You can put CSS Style Rule Syntax as follows −
+ View More
Other Related Courses
About The Instructor