CASCADING STYLE SHEET

 

CSS- CASCADING STYLE SHEETS

It is a language that describes the style of HTML document. It enables us to set border properties, font properties, background properties, margin properties of an HTML document using CSS.

CSS Terminology:-

Selector- A selector is an HTML tag at which style will be applied. This could be any tag like

<h1> , <p> or <font> etc.

Property- It is a type of attribute of HTML tag. Property includes color, background-color, height, width, border-style, font-size etc.

Value- Values are assigned to the properties. For example- color: red

Declaration- A property and its value collectively known as declaration










Comments

Popular posts from this blog

CLASS 8 DATA TYPES IN PYTHON

CHAPTER 4 RAISING QUERIES CLASS 8 COMPUTER