12. CSS
Cascading Style-Sheets
• Provides styling which defines how to
display the HTML elements
13. CSS
Cascading Style-Sheets
• Provides styling which defines how to
display the HTML elements
• Separates the Data contents from the
Presentation
14. CSS
Cascading Style-Sheets
• Provides styling which defines how to
display the HTML elements
• Separates the Data contents from the
Presentation
• External Stylesheets can save a lot of work
16. Tables vs CSS
• “Table” is an HTML element originally
intended to display data in the form of a
table.
17. Tables vs CSS
• “Table” is an HTML element originally
intended to display data in the form of a
table.
• HTML takes care of Data.
Stylesheet (CSS) takes care of Design.
19. CSS Syntax
Selector Declaration Declaration
Property Value Property Value
• Selectors can be tags, ids or classes.
20. CSS Syntax
Selector Declaration Declaration
Property Value Property Value
• Selectors can be tags, ids or classes.
• Enclosed in braces.
21. CSS Syntax
Selector Declaration Declaration
Property Value Property Value
• Selectors can be tags, ids or classes.
• Enclosed in braces.
• Property-Value pairs which end in semicolon.
27. JavaScript
• It is a client-side scripting language
• It is an interpreted language
• It was designed to add interactivity to
webpages
Java != JavaScript
28. • JavaScript was influenced by Scheme & Self
• It was designed by Brendan Eich of Netscape
• Originally called LiveScript
• JScript is Microsoft version of JavaScript
• JavaScript, JScript, ECMAScript etc are all
essentially the same.
29. What can it do?
• It can read & write to HTML webpages
• It can react to events
• It can do mathematical calculations
• It can be used to validate data
• It can be used to create cookies