Fluency with Information Technology INFO100 and CSE100 Katherine Deibel 2012-05-30Katherine Deibel, Fluency in Information Technology1.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
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.
SMT WEEKLY TRAINING JAMES CAMIRE STEVE ECKMAN TIM STIFFLER DANNY SAX MARY SOWDERS CHRIS MAHAN LISA MAHAN PAUL ISHAM HTML and CSS.
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.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
Cascading Style Sheets Based on Castro, HTML for the WWW, 6 th edition Ron Gerton, Fall 2007.
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
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
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Web Page Creation Part II ST: Introduction to Web Interface Design Prof. Angela Guercio.
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.
Chapter 16 A Case Study in Database Organization.
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
ITP 104.  While you can do things like this:  Better to use styles instead:
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.
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
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.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Cascading Style Sheets Class 1, Lecture 1 Rachel A Ober
IDs versus Classes Naming Your Tags for Maximum Functionality.
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.
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
CHAPTER 10 Formatting Tables and Forms. Using Tables the Right Way  HTML and XHTML have a LOT of tags dedicated to building a table  If you have only.
 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.
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.
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.
IST 221 Internet Concepts and Applications Introduction to XML II CSS and XSLT Style Sheets.
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
Chapter 16 A Case Study in Database Organization.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
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.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Designing Web Pages The case for CSS. The Power of CSS css Zen Garden
Understanding ID and Class in CSS Web Design – Sec 4-9 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
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.
WEB DESIGN PRINCIPLES Dale Blasingame School of Journalism & Mass Communication Texas State University.
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.
Stylizing a Navigational Menu Web Design Section 6-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
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
Using the Power of XML Personally
Presentation transcript:

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

 Course Evaluations  You will do evaluations for your TA on Wednesday/Thursday this week  You will evaluate me on Friday  Week 10 GoPost Discussions  Due by next Wednesday  Bring clickers to class on Friday  Yes, there will be a quiz (an easy one) Katherine Deibel, Fluency in Information Technology2

 We have mentioned XML several times in class  An extremely versatile tool  Commonly used for representing metadata in databases  Today, we show how to use XML for managing your own data without having to use a DBMS Katherine Deibel, Fluency in Information Technology3

 We will build a flat-file database using XML of personally interesting data  Chapter 17 shows the iDiary  We will then stylize the data by developing an XSL description  We will end by displaying the XML using a only a web browser Katherine Deibel, Fluency in Information Technology4

 Chapter 17 presents the iDiary  We will do something much simpler: a travelogue of places I've visited Katherine Deibel, Fluency in Information Technology5

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

 XML does not have a fixed set of tags  You create your own:  Katherine Deibel, Fluency in Information Technology7

Katherine Deibel, Fluency in Information Technology8 Hungary Budapest Buda Castle Vajdahunyad Castle Statue of Anonymus root tagattributemixed tags

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 Technology9

 Like CSS, XSL gives style information, but it does it using XML!  The process Katherine Deibel, Fluency in Information Technology10 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 Technology11 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 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 This is creating a template for how the browser should render the tag in the XML file. Since is the root element, its styling makes the overall HTML page.

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 Technology14 tells the browser to apply stylings to any XML tags within the current one (i.e., )

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 Technology15

 One template for every tag used  Country (table row)  Name (second-level header)  Sight (one per line)  City (third-level header)  Means fill in the contents of that XML tag Katherine Deibel, Fluency in Information Technology16

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

 We see the  Basic HTML structure  Table format  Text styling  All of this was from an XML file!!! Katherine Deibel, Fluency in Information Technology18

 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 Technology19

Katherine Deibel, Fluency in Information Technology20  Of course, the image files are found where the paths indicate

 If we want to update the travelogue, we need only to update the XML file  I've also visited Canada  Let's add that now  What we just saw  We only entered information  We did not have to put in the style Katherine Deibel, Fluency in Information Technology21

 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 Technology22