Cascaded Styling Sheets can explain how the html documantation can be style.
Includes:-
History of CSS
CSS syntax and explanation
CSS types
And a little more...
2. HHTTMMLL RReevviieeww
►What is HTML used for?
►Give some examples of formatting tags in
HTML?
►HTML is the most widely used language on the
Web
►In today’s lesson we will be discussing the
second most widely used language on the web
►Does anyone know the name of the second most
widely used language?
3. HHiissttoorryy ooff CCSSSS
►CSS was proposed in 1994 as a web styling
language.
►There were other styling languages
proposed at this time, such as Style Sheets
for HTML and JSSS but CSS won.
►CSS2 became the recommendation in 1998
by W3C
►CSS3 was started in 1998 but it has never
been completed. Some parts are still being
developed and some components work on
some browsers.
4. WWhhaatt iiss CCSSSS??
• CCSSSS ssttaannddss ffoorr CCaassccaaddiinngg SSttyyllee SShheeeettss
• SSttyylleess -- ddeeffiinnee hhooww ttoo ddiissppllaayy HHTTMMLL eelleemmeennttss
• SSttyylleess aarree nnoorrmmaallllyy ssttoorreedd iinn SSttyyllee SShheeeettss
DDeeffiinniittiioonn::
Cascading Style Sheets (CSS) – is a rule based
language that applies styling to your HTML elements.
You write CSS rules in elements, and modify properties
of those elements such as color, background color,
width, border thickness, font size, etc.
7. SSeelleeccttoorr
DDeeffiinniittiioonn:: iiddeennttiiffiieess tthhee HHTTMMLL eelleemmeennttss tthhaatt tthhee
rruullee wwiillll bbee aapppplliieedd ttoo,, iiddeennttiiffiieedd bbyy tthhee aaccttuuaall
eelleemmeenntt nnaammee,, ee..gg.. <<bbooddyy>>,, oorr bbyy ootthheerr mmeeaannss
ssuucchh aass ccllaassss aattttrriibbuuttee vvaalluueess..
EExxaammppllee::
*The selector is normally the HTML element you want to style
8. PPrrooppeerrttyy && VVaalluuee
DDeeffiinniittiioonn:: The property is the style attribute you
want to change. Each property has a value.
**PPrrooppeerrttiieess aarree sseeppaarraatteedd ffrroomm tthheeiirr rreessppeeccttiivvee vvaalluueess bbyy
ccoolloonnss ::
*PPaaiirrss aarree sseeppaarraatteedd ffrroomm eeaacchh ootthheerr bbyy sseemmiiccoolloonnss ;;