Unit 5 - Cascading Style Sheets (CSS) www.profburnett.com XML - Level I Basic.

Slides:



Advertisements
Similar presentations
1 © Netskills Quality Internet Training, University of Newcastle Introducing Cascading Style Sheets © Netskills, Quality Internet.
Advertisements

Cascading Style Sheets Understanding styles. The term cascading describe the capability of a local style to override a general style. CSS applies style.
XHTML & CSS 2 By Trevor Adams. Last week XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
MSc. Publishing on WWW Tables and Style Sheets. Tables Tables are used to: Organize and display tabular data To create a layout for web pages.
3 November 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures.
Dreamweaver MX ? Create professional web pages Visual editing functions –No need to write HTML Includes complete FTP client software Recognises.
XHTML 16-Apr-17.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 3 Style Sheets: CSS WEB.
Tutorial 11 Creating XML Document
Unit 4 – XML Schema XML - Level I Basic.
Pre-Module CSS BTM 395: Internet Programming. Cascading Style Sheets (CSS) Separation of structure from presentation CSS guide and tutorial –
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Basics of HTML.
Chapter 1 Variables in the Web Design Environment
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Session II Chapter 2 – Chapter 2 – XSLhttp://
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
Cascading Style Sheets. What is CSS? Short for Cascading Style Sheets, a new feature being added to HTML that gives more control over how pages are displayed.
 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.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
CS134 Web Design & Development Cascading Style Sheets (CSS) Mehmud Abliz.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Session I Chapter 1 - Introduction to Web Development
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
FAFSA Completion Application Webinar Technical Demonstration January 13, 2015.
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
XML Basics A brief introduction to XML in general 1XML Basics.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Wednesday 5 December 2012 Part II. Wednesday 5 December Make an Element Draggable What to Drag - ondragstart and setData() Where to Drop - ondragover.
Cascading Style Sheets CSS. Source W3Schools
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Designing Web Pages The case for CSS. The Power of CSS css Zen Garden
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 6.
Unit 5 The Web Book Test. Unit 5 Test The Web Book Test 1. On the bottom of page 46, why is writing web pages not like writing printed documents ?
IT Accessibility Committee Cascading Style Sheets Presented by Michael B. Short Prepared by The NYS Forum IT Accessibility Committee
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CH 3 Your First XML Document.  How to write and save simple XML documents  How to assign XML elements three kinds of meaning: structural, semantic,
CSS Cascading Style Sheets
Web Basics: HTML/CSS/JavaScript What are they?
Getting Started with CSS
CITA 330 Section 3 XHTML.
CX Introduction to Web Programming
CASCADING STYLE SHEET CSS.
ITI 133 HTML5 Desktop and Mobile Level I
Cascading Style Sheets - Building a stylesheet
HTML5 Level I Session II Chapter 3 - How to Use HTML to Structure a Web Page
Unit 4 Test CSS Test.
ITI 163: Web, Mobile, and Social Media Design Introduction
Web Design & Development
HTML5 Level II (CyberAdvantage)
Cascading Style Sheets - Building a stylesheet
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Separating activities
Unit 6 - XML Transformations
Presentation transcript:

Unit 5 - Cascading Style Sheets (CSS) XML - Level I Basic

Unit 5 - Cascading Style Sheets (CSS) Unit objectives  Identify the benefits and limitations of styling XML documents with CSS, and link an XML document to a style sheet.  Apply simple CSS styles to an XML document. 7/14/2013 Copyright © Carl M. Burnett 2

Topic A  Topic A: CSS and XML  Topic B: CSS styles 7/14/2013 Copyright © Carl M. Burnett 3

Overview of Cascading Style Sheets  CSS specifications control a document’s appearance  Several stages of CSS1, CSS2, and now CSS3 specifications are in development  CSS3 is modular  W3C provides a CSS Validation Service at its Web site 7/14/2013 Copyright © Carl M. Burnett 4

Linking to external style sheets  Syntax: Prolog <?xml-stylesheet type=“text/css” href=“stylesheetname.css” ?> 7/14/2013 Copyright © Carl M. Burnett 5

External style sheet reference 7/14/2013 Copyright © Carl M. Burnett 6

Processing external style sheets  File is passed to XML parser which reads the prolog with the declaration (stylesheetname.css) and retrieves that file  Parser passes data from both files to browser  Processes the data and displays the result 7/14/2013 Copyright © Carl M. Burnett 7

Student Exercise  Topic A – CSS & XML  A-1: Linking a XML Document to a CSS Style Sheet 7/14/ Copyright © Carl M. Burnett

Unit summary  Learned how to identify the benefits and limitations of styling XML documents with CSS  Learned how to link an XML document to a style sheet. 7/14/2013 Copyright © Carl M. Burnett 9