CSS ( What is css...? )
VIDYA ACADEMY
What is CSS ?
- CSS stands for cascading style sheet.
- CSS describes how HTML elements are to be displayed on screen, paper or in other media.
- CSS saves a let of work. It can control the layout of multiple web pages all at once.
- External stylesheets are shorted in CSS style.
- CSS Invented by HAYKON Wium Lie in 1994.
- CSS devloped by World Wide Web consortium (w3c) in 1996.
Version of CSS :-
- CSS1
- CSS2
- CSS3
CSS Syntax :-
Declaration | ||||
---|---|---|---|---|
h1{color:blue;font-size:12px;} | ||||
selector{property:value;property:value;} |
- The slector point of HTML element you want to style.
- The declareation block contain one or more declaration separated by semicolons .
- Each declaration includes a CSS property Name and a value separated by a colon .
Example- P { color:red; text-align:center; } |
---|
टिप्पणियाँ
एक टिप्पणी भेजें
thank you