CSS : Cascading Style Sheets Ann Dobbs Class: i385e.

Slides:



Advertisements
Similar presentations
3.02B Authoring Languages 3.02 Develop webpages..
Advertisements

Introduction to HTML & CSS
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
Cascading Style Sheets
It’s All About Style The Basics of Style Sheets Presented by Barry Diehl.
Introduction to CSS.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
XHTML & CSS 2 By Trevor Adams. Last week XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Project 1 Introduction to HTML.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 3 Style Sheets: CSS WEB.
Introduction to XHTML Professor Stephen Kwan. 2 XHTML HTML StyleSheets XML CascadingStyleSheets(CSS) ExtensibleStylesheetLanguage(XSL) StructureFormatContent.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Copenhagen, 6 June 2006 Modern Web standards in CHM portals Mădălina Sauca Finsiel Romania.
Chapter ONE Introduction to HTML.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Cascading Style Sheets Part 1 Library and Information Services, University of St Andrews.
By Jonathan French. What is CSS? Cascading Style Sheet Style sheet language Used for the look and formatting of a document written in a markup language.
Creating a Basic Web Page
Styles with Cascading Style Sheets (CSS) Web Design – Section 4-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design.
The Internet and the World Wide Web. The Internet A Network is a collection of computers and devices that are connected together. The Internet is a worldwide.
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Cascading Style Sheets Tom Osman. Keep the content of a webpage separate from the formatting of the page. Structure (of content)  Headings  Sub headings.
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Cascading Style Sheets Orientation Learning Web Design: Chapter 11.
INTRODUCTION TO CSS. OBJECTIVES: D EFINE WHAT CSS IS. K NOW THE HISTORY OF CSS. K NOW THE REASON WHY CSS IS USED. CSS SYNTAX. CSS ID AND CLASS.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
Browsing MITA Seminar 2003 Mikko Pohja & Alessandro Cogliati.
 cascade Style Sheets (CSS) is a mark-up language that was first proposed in 1994 by Håkon Wium Lie. CSS works in conjunction with HTML to greatly increase.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Professor Waterman Cascading Style Sheets (CSS) is a language that works with HTML documents to define the way content is presented. The presentation.
Intro To Web Design with Adobe Dreamweaver CSS Cascading Style Sheets (CSS) is the W3C standard for defining the presentation of documents written in HTML,
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
Cascading Style Sheets CSS. Source W3Schools
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
XP Review 2 New Perspectives on JavaScript, Comprehensive1 Introducing Cascading Style Sheets Formatting Web Pages with CSS.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
Introduction to CSS Brendan Knight. What is CSS Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the.
IT Accessibility Committee XML as Content Management Presented by Michael B. Short May 11, 2006 Prepared by the NYS Forum IT Accessibility Committee
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Introduction to the World Wide Web & Internet CIS 101.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
1 Lecture 7 Style Sheets: CSS. 2 Motivation HTML markup can be used to represent –Semantics: h1 means that an element is a top-level heading –Presentation:
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
What is CSS? A set of style rules that tell the web browser how to present a web page or document. – In earlier versions of HTML, style characteristics,
S.MD.FAROOQ M.Tech., [Ph.D] Assistant Professor Department of CSE Santhiram Engineering College.
Week-12 (Lecture-1) Cascading Style Sheets (CSS): describe how documents are presented on screens. Types of Style Sheets: External Style Sheet - Define.
Web Basics: HTML/CSS/JavaScript What are they?
Project 1 Introduction to HTML.
Responsive Web Pages.
Introduction to HTML.
CX Introduction to Web Programming
Styles with Cascading Style Sheets (CSS)
Introduction to web design discussing which languages is used for website designing
What are Cascading Stylesheets (CSS)?
Presentation transcript:

CSS : Cascading Style Sheets Ann Dobbs Class: i385e

Presentation  CSS Defined  Advantages of Using CSS  Disadvantages of Using CSS  Advanced Uses  Other good sites for learning CSS  References

CSS Defined Wikipedia: “Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.”

Stylesheets  Are text style & layout instructions that extend the HTML (or XHTML, XML, etc.) in web pages, giving greater control over content presentation, including typography, layout, and presentation on different media (print, screen, mobile, audio, etc.)

Cascading Stylesheets  Which style rules? Browser default External style sheet Internal style sheet (inside the tag) Inline style (inside an HTML element) ("Introduction to CSS," n.d.)

CSS vs. Inheritance  Cascading is not inheritance, though the two sometimes get confused.  Inheritance is related to the HTML document’s containment hierarchy   Each element will by default inherit the style of it’s parent element (.8 x.8 =.64)

Advantages of Using CSS  Separation of presentation of presentation & content  Less time and labor needed for site maintenance & revisions  Better accessibility  Better/faster data-driven websites  Better semantics  Improved graphic design possibilities (ex: Zen Garden site)

Advantages of Using CSS  Enables different presentations of same page for different media  Faster page load times

Disadvantages  Inconsistent browser support (decreasing problem at this point ) May need to design page for one browser, so be aware of what your users are using! Hacks to remedy browser differences can cause problems of their own. Most new browsers have quirks and strict modes to adjust their css interpretation for older css and css written for recent browsers

Disadvantages  User may override your css or it may not display at all  CSS has bugs, so crosscheck on browsers  Easy for beginners to get carried away  Use it when you need it  Validate! Make sure your HTML is semantically correct & CSS is good

Advanced Uses  Use with database-driven websites and templates  Provide different presentations to different media  Use it to provide both presentation layout and screenreader / text-only content organization

Other Good Sites  Maxdesign (  Westciv (  Holy CSS Zeldman! (

References  Cascading Style Sheets. (n.d.). Wikipedia. Retrieved November 2, 2006, from eets  Introduction to CSS. (n.d.). w3 School. Retrieved November 2, 2006, from gs/‌css_intro.asp.htm  Shea, D. (n.d.). CSS Zen Garden. Retrieved November 2, 2006, from s/