DOC PREVIEW
UMD LBSC 690 - CSS, XML/XSLT

This preview shows page 1 out of 2 pages.

Save
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

What s a Document LBSC 690 Session 6 CSS XML XSLT Content Structure Appearance Behavior Jimmy Lin The iSchool University of Maryland Wednesday October 8 2008 The iSchool University of Maryland This work is licensed under a Creative Commons Attribution Noncommercial Share Alike 3 0 United States See http creativecommons org licenses by nc sa 3 0 us for details CSS Basics of CSS Separating content and structure from appearance Rules for defining styles cascade from broad to narrow z z z z Browser default External style sheet Internal style sheet Inline style Basic syntax selector property value HTML tag you want to modify The property you want to change The value you want the property to take Example p p text align center color black font family arial Causes z z Font to be center aligned Font to be Arial and black The iSchool University of Maryland Different Ways for Using CSS Inline style z The iSchool University of Maryland Customizing Classes Ability to define customized styles for standard HTML tags Causes only the tag to have the desired properties p style font family arial color blue p head style type text css p style1 font family arial color blue p style2 font family serif color red style head body p class style1 p p class style2 p Internal stylesheet z Causes all tags to have the desired properties head style type text css p font family arial color blue style head body p p The iSchool University of Maryland The iSchool University of Maryland 1 External Style Sheets Why Use CSS Store formatting metadata in a separate file mystyle css What are the advantages of CSS Why have three separate ways of using styles p style1 font family arial color blue p style2 font family serif color red head link rel stylesheet href mystyle css type text css head body p class style1 p p class style2 p The iSchool University of Maryland The iSchool University of Maryland XML and XSLT XML document contains the content DTD Document Type Definition defines a well formed XML document XSLT eXtensible Stylesheet Language Transformations language for converting one XML document into another The iSchool University of Maryland 2


View Full Document

UMD LBSC 690 - CSS, XML/XSLT

Download CSS, XML/XSLT
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view CSS, XML/XSLT and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view CSS, XML/XSLT and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?