Fluency with Information Technology INFO100 and CSE100 Katherine Deibel 2012-03-07Katherine Deibel, Fluency in Information Technology1.

Slides:



Advertisements
Similar presentations
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Advertisements

Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
/k/k 1212 Cascading Style Sheets Part one Marko Boon
Cascading Style Sheets
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
Introduction to CSS. What is CSS? A CSS (cascading style sheet) file allows you to separate your web sites (X)HTML content from it’s style. Use your (X)HTML.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Start menu -> all program -> Microsoft Visual SourceSafe-> Microsoft Visual Studio 2010 Click.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
1/18 ITApplications XML Module Session 5: Extensible Stylesheet Language (XSL)
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Tutorial 2: Formatting Text. Objectives Session 2.1 – Learn the functions of the Common toolbar – Change the size of text – Discern which fonts to use.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
1 Getting Started with CSS. 2 CSS Cascading Style Sheets XHTML provides structure for our documents (web pages) CSS provides Style or Presentation for.
Displaying and Using XML There are simple ways to use or display XML  CSS stylesheets  Data Source Objects  DHTML & Data Islands In later lessons we.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A Case Study in Database Organization The iDiary Database lawrence snyder.
More HTML Chapter 4. 2 Nesting Tags How do you write the following in HTML? The wrong way: This is really, REALLY fun ! Tags must be correctly nested.
4.01 Cascading Style Sheets
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
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.
XHTML and CSS Introduction to XHTML and CSS Bharti Patel 1 phones off (please)
Chapter 16 A Case Study in Database Organization.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
CSS Cascading Style Sheets By Garrett Garman. CSS Why use Style Sheets? Separates Appearance and Structure Modularity Quick and Easy changes Flexibility.
Chapter 6 Web Typography. 2 Principles of Web Design Chapter 5 Objectives Understand principles for type design on a Web site Use the element Understand.
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.
INTERNAL CSS Casey Ames Different types of CSS There are three different types of CSS: ◦ External CSS ◦ Internal CSS ◦ Inline CSS In this presentation.
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
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.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
HTML, Part Showing Pictures: The Image Tags Image Tag Format –src short for source –alt for text –Can use absolute or relative pathname.
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
1 XML - Extensible Markup Language. 2 HTML - Hypertext Markup Language n HTML has a fixed tag set. n Use these tags to describe how information is to.
CO1552 – Web Application Development Cascading Style Sheets.
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.
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 3.
XML Extensible Markup Language
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
Chapter 16 A Case Study in Database Organization.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
OV Copyright © 2008 Element K Content LLC. All rights reserved.  Format Text  Format Lists  Format Images  Modify Page Background Applying Styles.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Designing Web Pages The case for CSS. The Power of CSS css Zen Garden
Cascading Style Sheets (CSS) EXPLORING COMPUTER SCIENCE – LESSON 3-5.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
LT: I can use CSS to decorate a web page. Do Now: Get your storyboard, and log in to winhome. Write our a list of colors you want in your website. (Minimum.
Chapter 4 Frames and Cascading Style Sheets. Frames Frames divide a browser window into two or more separate pieces or panes, with each pane containing.
CSS. What does it stand for? ___________________.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Creating Web Documents CSS examples (do more later) Lab/Homework: Read chapters 15 & 16. Work on Project 3, do postings.
1 Cascading Style Sheets
Fluency with Information Technology
Style Sheets.
Creating an XSLT Style Sheet for Formatting Data
CSC 110 – Fluency in Information Technology Databases, XML and XSL
Web Authoring Task 8– Create the following Style Sheet:
Usually use background-color:
Using the Power of XML Personally
Presentation transcript:

Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1

 XML is an extremely versatile tool.  Today, we show how to use it effectively for your own data Katherine Deibel, Fluency in Information Technology2 © Lawrence Snyder 2004

 Build a database using XML of personally interesting data  Chapter 17 shows the iDiary, a collection of the most interesting stuff  Develop an XSL description for its formatting  Display the XML using a browser and it will create a web page display of your database Katherine Deibel, Fluency in Information Technology3

 Instead of the iDiary from chapter 17, we will instead present a similar idea: a basic travelogue Katherine Deibel, Fluency in Information Technology4

 The travel log will give data for each country visited as  Country Name  Country’s Flag  Sights visited  That series of countries forms a list  The sights inside form a sublist Katherine Deibel, Fluency in Information Technology5

You pick the tags and enter the data Katherine Deibel, Fluency in Information Technology6

If we display an XML file without any style information, we just get the “tree” of our data  Good check that all of the tags are right  You get the same view if you look at a raw RSS feed Katherine Deibel, Fluency in Information Technology7

 Like CSS, XSL gives style information, but it does it using XML!  The process Katherine Deibel, Fluency in Information Technology8 XML Database XML Stylesheet Transformer applies XSL Templates Browser rendering engine Browser Window

 Plan the page as if it were XHTML, because it is going to be a list of items in a table:  Black background, sans serif font, gray text, white border Katherine Deibel, Fluency in Information Technology9 Info for tagsight entry Flag display heresight entry … Info for tagsight entry Flag display heresight entry …

Travelogue body {background-color: black; color: gray; font-family: arial; } table {border: solid white 3px; } Places I've Traveled XML magic happens here Katherine Deibel, Fluency in Information Technology10

Travelogue body {background-color: black; color: lightgray; font-family: arial; } table {border: solid white 3px; } Places I've Traveled XML magic happens here Katherine Deibel, Fluency in Information Technology11

Travelogue body {background-color: black; color: lightgray; font-family: arial; } table {border: solid white 3px; } Places I've Traveled XML data goes here Katherine Deibel, Fluency in Information Technology12

Travelogue body {background-color: black; color: lightgray; font-family: arial; } table {border: solid white 3px; } Places I've Traveled XML magic happens here Katherine Deibel, Fluency in Information Technology13

 One template for every tag used  Country  Name  Tour  Sight  Means fill in the contents of that XML tag Katherine Deibel, Fluency in Information Technology14

 Have to add one line to the XML file Katherine Deibel, Fluency in Information Technology15

Katherine Deibel, Fluency in Information Technology16

 We use the country id attribute to create the filename and alt tag  To access the value of an attribute, we  Use symbol Katherine Deibel, Fluency in Information Technology17

 Plus some more styling Katherine Deibel, Fluency in Information Technology18

 XML is extremely versatile for organizing your data however you like with tags you make up  Using XSL you can format your database as if it were a Web page familiar and easy  Once an organization is setup it is trivial to add new information Katherine Deibel, Fluency in Information Technology19