Presentation of XML Documents

Size: px
Start display at page:

Download "Presentation of XML Documents"

Transcription

1 Presentation of XML Documents Patryk Czarnik Institute of Informatics University of Warsaw XML and Modern Techniques of Content Management 2012/13

2

3 Stylesheets Separating content and formatting Separation of content and formatting According to XML best practices, documents should contain: pure content / data markup for structure and meaning ( semantic or descriptive markup) no formatting How to present? hard-coded interpretation of known document types, eg Libre Office rendering Writer document importing or pasting content into word processor or DTP tool and manual or automatic formatting, eg Adobe InDesign approach external style sheets Patryk Czarnik 05 Presentation XML 2012/13 4 / 1

4 Idea of stylesheet <person id="102103" position="specialist"> <person id="102105" position="assistant"> <first-name>dawid</first-name> <first-name>arkadiusz</first-name> <last-name>paszkiewicz</last-name> <last-name>gierasimczyk</last-name> <phone type="office"> </phone> <phone type="office"> </phone> <phone type="fax"> </phone> <phone type="mobile"> </phone> </person> </person> * font 'Times 10pt' * 12pt for name * abbreviation before phone number * yellow backgorund * blue font and border * italic font for name * typewritter font for

5 Stylesheets Separation of content and formatting Benefits of content and formatting separation General advantages of descriptive markup better content understanding and easier analysis Ability to present in the same way: the same document after modification another document of the same structure Formatting managed in one place easy to change style of whole class of documents Ability to define many stylesheets for a document class, depending on purpose and expectations: medium (screen / paper / voice) expected number of details (full report / summary) reader preferences (font size, colors, ) Patryk Czarnik 05 Presentation XML 2012/13 6 / 1

6 Stylesheets Separation of content and formatting Standards related to XML presentation General: Associating Style Sheets with XML Documents Stylesheet languages: DSSSL (historical, applied to SGML) Document Style Semantics and Specification Language CSS Cascading Style Sheets XSL Extensible Stylesheet Language Patryk Czarnik 05 Presentation XML 2012/13 7 / 1

7 Stylesheets Associating style with document Associating Style Sheets with XML Documents W3C Recommendation Processing instruction xml-stylesheet One style sheet <?xml-stylesheet type="text/xsl" href="defaultxsl"?> Alternative style sheets <?xml-stylesheet title="blue" type="text/css" href="bluecss"?> <?xml-stylesheet title="yellow" alternate="yes" type="text/css" href="yellowcss"?> <?xml-stylesheet title="big fonts" alternate="yes" type="text/css" href="bigcss"?> Patryk Czarnik 05 Presentation XML 2012/13 8 / 1

8 CSS Idea and applications Cascading Style Sheets Beginnings of style sheets idea: 1970s motivation different printer languages and properties CSS beginnings: 1994 CSS Level 1 Recommendation: December 1996 CSS Level 2 Recommendation: May 1998 implemented (more or less completely) in present-day internet browsers CSS 21 Recommendation: June 2011 CSS 2 corrected and made less ambiguous also, a bit less ambitious (unsupported features thrown out) CSS Level 3 work still in progress: modularisation new features supported in modern browsers Patryk Czarnik 05 Presentation XML 2012/13 10 / 1

9 Applications of CSS CSS Idea and applications First and main application: style for Web sites Separation of content and formatting for HTML Simple style sheets for XML Idea of accessibility Content should be accessible for all people, despite their personal or technical disabilities Support in CSS: media-dependent styles alternative presentation methods (eg voice) enabling reader to provide her/his own style (eg larger font and contrast colors for people with eyesight disability) Patryk Czarnik 05 Presentation XML 2012/13 11 / 1

10 Example XML CSS CSS sheet structure <company> <name>extremely professional company</name> <department id="acc"> <name>accountancy</name> <person id="102103" position="specialist"> <first-name>dawid</first-name> <last-name>paszkiewicz</last-name> <phone type="office"> </phone> <phone type="fax"> </phone> </person> <person id="102104" position="chief"> <first-name>monika</first-name> <last-name>domżałowicz</last-name> <phone type="office"> </phone> <phone type="mobile"> </phone> </person> <person id="102105" position="assistant"> <first-name>arkadiusz</first-name> <last-name>gierasimczyk</last-name> Patryk Czarnik 05 Presentation XML 2012/13 12 / 1

11 Example stylesheet CSS person { display: block; margin: 10px auto 10px 20px; padding: 075em 1em; width: 200px; border-style: solid; border-width: 2px; border-color: #003399; background-color: #F6F6F6; } person[position='chief'] { background-color: #DDFFDD; } first-name, last-name { display: inline; font-size: 12pt; } person[position='chief'] last-name { font-weight: bold; } CSS sheet structure Terminology rule selector { property: value; property: value } Patryk Czarnik 05 Presentation XML 2012/13 13 / 1

12 Result of formatting CSS CSS sheet structure Patryk Czarnik 05 Presentation XML 2012/13 14 / 1

13 CSS CSS sheet structure Selectors person element name first-name, last-name two elements department name descendant department > name child A + B element B directly following A name:first-child name being first child person[position] test of attribute existence person[position='chief'] attribute value test person[position~='chief'] value is element of list person#k12 value of ID-type attribute olstaff equivalent to ol[class~='staff'] (HTML specific) Patryk Czarnik 05 Presentation XML 2012/13 15 / 1

14 CSS CSS visualisation principles Formatting Blocks Content arranged into blocks of different kind display property establishes kind of block: block regular block with height and width inline fragment of text, subject to line wrapping other specific objects (tables, lists, etc) Box model Blocks nesting reflects nesting of elements in source document Additionally: borders, margins, relative or absolute positioning Patryk Czarnik 05 Presentation XML 2012/13 16 / 1

15 CSS Formatting CSS visualisation principles (2) Inheritance Nested elements inherit properties from parents does not apply to all properties Formatting Properties for various aspects of formatting size, position, borders, and margins text and fonts colour and background user interaction basic pagination properties aural properties Patryk Czarnik 05 Presentation XML 2012/13 17 / 1

16 CSS Formatting Some other capabilities of CSS CSS 2 Medium-dependent style Inserting content not existing in source document (labels etc) Multi-level counters CSS 3 Animation and effects Multi-column text More selectors Support for XML namespaces Patryk Czarnik 05 Presentation XML 2012/13 18 / 1

17 CSS Formatting CSS capabilities and advantages Rich visual formatting capabilities especially for single elements Elements distinguished basing on name placement within document tree existence and value of attributes Support internet browsers authoring tools Easy to write simple stylesheets :) Patryk Czarnik 05 Presentation XML 2012/13 19 / 1

18 CSS CSS lacks and drawbacks Formatting Only visualisation not conversion to other formats Some visual formatting issues eg confusing block size computing (moreover, for years incorrectly implemented in IE) Not possible: distinguish elements basing on their contents repeating the same content several times presenting elements in different order than in source (no general solution, only relative/absolute positioning) complex logical conditions data processing (eg summing numeric values) Patryk Czarnik 05 Presentation XML 2012/13 20 / 1

19 XSL Presentation by transformation Presentation by transformation <xsl:template> <xsl:value-of> <h2> <person> <first-name> <last-name> <salary> XML ("pure data") <xsl:variable> Definition of transformation (in role of styelsheet) <table> <tr> <td> Document for direct presentation In order to present a document, we can transform it into a format, that we know how to present Examples of presentable XML formats: XHTML XSL Formatting Objects Patryk Czarnik 05 Presentation XML 2012/13 22 / 1

20 XSL Presentation by transformation Extensible Stylesheet Language (XSL) First generation of recommendations (1999 and 2001): XSL (general framework, XSL Formatting Objects language) XSLT (transformation language) XPath (expression language, in particular paths addressing document fragments) XSL stylesheet transformation from XML to XSL-FO usually for a class of documents (XML application) in practice, transformation to other formats, often (X)HTML Patryk Czarnik 05 Presentation XML 2012/13 23 / 1

21 Original idea of XSL XSL Presentation by transformation cite: W3C, XSL 10 Patryk Czarnik 05 Presentation XML 2012/13 24 / 1

22 XSL Introduction to XSL Transformations XSLT XSL Transformations Application of XML (of course) Transformation definition ( transformation or stylesheet ) specifies how a source document translates into a result document Transformation at document tree level Patryk Czarnik 05 Presentation XML 2012/13 25 / 1

23 XSL XSLT stylesheet example Transformation from staff-xml to HTML Introduction to XSL Transformations <?xml version="10" encoding="utf-8"?> <xsl:stylesheet version="10" xmlns:xsl=" <xsl:output method="html" encoding="utf-8" /> <xsl:template match="/"> <html> <head> <title> <xsl:text>employees of </xsl:text> <xsl:value-of select="/firma/nazwa" /> </title> <style type="text/css"></style> </head> <body> <xsl:apply-templates /> </body> </html> </xsl:template> Patryk Czarnik 05 Presentation XML 2012/13 26 / 1

24 XSL XSLT stylesheet example XML HTML <xsl:template match="company/name"> <h1> <xsl:apply-templates /> </h1> </xsl:template> Introduction to XSL Transformations <xsl:template match="department/name"> <h2> <xsl:apply-templates /> </h2> </xsl:template> Patryk Czarnik 05 Presentation XML 2012/13 27 / 1

25 XSL XSLT stylesheet example XML HTML Introduction to XSL Transformations <xsl:template match="person"> <div class="person"> <div class="name"> <xsl:apply-templates select="first-name" /> <xsl:text> </xsl:text> <xsl:apply-templates select="last-name" /> </div> <div class="phone"> <xsl:apply-templates select="phone" /> </div> <div class=" "> <xsl:apply-templates select=" " /> </div> </div> </xsl:template> Patryk Czarnik 05 Presentation XML 2012/13 28 / 1

26 XSL Introduction to XSL Transformations XSLT stylesheet structure Stylesheet (arkusz) consists of templates Template (szablon) specifies how to transform a source node into result tree fragment Inside templates: text and elements not from XSLT namespace copied to result XSLT instructions affects processing XPath in instructions access to source document, arithmetic, conditions testing, XSLT can be considered a programming language specialised for XML documents transformation Patryk Czarnik 05 Presentation XML 2012/13 29 / 1

27 XSL Introduction to XSL Transformations XSLT operation overview Transformation on tree level Template for document node (root) started first template exists even if we had not written it apply-templates within a template another templates called for other nodes, usually for children Templates matched according to node kind and name, location within document tree, etc Additional features: conditional processing, copying values and nodes from source, generating new nodes, grouping, sorting, Patryk Czarnik 05 Presentation XML 2012/13 30 / 1

28 XPath in XSLT XSL Introduction to XSL Transformations XPath expressions used for: accessing nodes and values from source document computing values checking logical conditions XPath constructions: paths (navigating through document tree) arithmetic and logical operators functions for numbers strings, etc Patryk Czarnik 05 Presentation XML 2012/13 31 / 1

29 XSL Introduction to XSL Transformations Basic approach to presentational XSLT Main template Setting shape of result document <xsl:template match="/"> <html> <head></head> <body> <xsl:apply-templates /> </body> </html> </xsl:template> Typical internal template Translation of source elements into result elements (or fragments) <xsl:template match="abstract"> <p class="abstract"> <xsl:apply-templates /> </p> </xsl:template> Patryk Czarnik 05 Presentation XML 2012/13 32 / 1

30 XSL Formatting Objects XSL XSL-FO XML application designed for visual presentation Focused on printed media page templates ( masters ) automatic pagination Normally, XSL-FO documents are not written by hand but generated via XSLT Patryk Czarnik 05 Presentation XML 2012/13 33 / 1

31 XSL XSL-FO document structure XSL-FO Minimal example of XSL-FO document <fo:root xmlns:fo=" <fo:layout-master-set> <fo:simple-page-master master-name="my-page"> <fo:region-body /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="my-page"> <fo:flow flow-name="xsl-region-body"> <fo:block>hello World!</fo:block> </fo:flow> </fo:page-sequence> </fo:root> Patryk Czarnik 05 Presentation XML 2012/13 34 / 1

32 Transformation to XSL-FO (1/2) <?xml version="10" encoding="utf-8"?> <xsl:stylesheet version="10" xmlns:xsl=" xmlns:fo=" <xsl:output method="xml" encoding="utf-8"/> <xsl:template match="/"> <fo:root> <fo:layout-master-set> <fo:simple-page-master master-name="a4" > </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="a4"> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates /> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet>

33 Transformation to XSL-FO (2/2) <xsl:template match="person"> <fo:block padding="05em" margin="5mm 100mm 5mm 10mm" border-width="15pt" border-style="solid" border-color="#553300" page-break-inside="avoid"> <fo:block margin-top="05em"> <xsl:apply-templates select="phone"/> </fo:block> </fo:block> </xsl:template> <xsl:template match="phone"> <fo:block> <xsl:choose> <xsl:when </xsl:when> <xsl:otherwise>tel </xsl:otherwise> </xsl:choose> <xsl:apply-templates /> </fo:block> </xsl:template>

34 Example visualisation XSL XSL-FO Patryk Czarnik 05 Presentation XML 2012/13 37 / 1

35 XSL XSL-FO page-master page template Example Single page layout A document may be split in many such pages <fo:simple-page-master master-name="a4" page-width="297mm" page-height="210mm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm"> <fo:region-body margin="3cm"/> <fo:region-before extent="2cm"/> <fo:region-after extent="2cm"/> <fo:region-start extent="2cm"/> <fo:region-end extent="2cm"/> </fo:simple-page-master> Patryk Czarnik 05 Presentation XML 2012/13 38 / 1

36 Content of pages XSL XSL-FO page-sequence results in a number of pages flow content split into pages static-content content repeated on all pages flow-name page region reference Stylesheet fragment <fo:page-sequence master-reference="a4"> <fo:static-content flow-name="xsl-region-before"> Company <xsl:value-of select="name" /> staff </fo:static-content> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates /> </fo:flow> </fo:page-sequence> Patryk Czarnik 05 Presentation XML 2012/13 39 / 1

37 XSL-FO tree elements XSL XSL-FO Block level block list-block, list-item, list-item-label table, table-row, table-cell, Inline level inline, character external-graphics Special features basic-link, bookmark footnote flow Patryk Czarnik 05 Presentation XML 2012/13 40 / 1

38 Style of visual elements XSL XSL-FO CSS roots of visual formatting model Attributes for style properties: margin, padding, border-style background-color, background-image font-family, font-weight, font-style, font-size text-align, text-align-last, text-indent, start-indent, end-indent, wrap-option, break-before Patryk Czarnik 05 Presentation XML 2012/13 41 / 1

39 Lists example XSL XSL-FO <fo:list-block> <fo:list-item> <fo:list-item-label> <fo:block>first name: </fo:block> </fo:list-item-label> <fo:list-item-body> <fo:block margin-left="15em">dawid</fo:block> </fo:list-item-body> </fo:list-item> <fo:list-item> <fo:list-item-label> <fo:block>surname: </fo:block> </fo:list-item-label> <fo:list-item-body> <fo:block margin-left="15em">paszkiewicz</fo:block> </fo:list-item-body> </fo:list-item> </fo:list-block> Patryk Czarnik 05 Presentation XML 2012/13 42 / 1

40 XSL Example visualisation lists XSL-FO Patryk Czarnik 05 Presentation XML 2012/13 43 / 1

41 Tables example XSL XSL-FO <fo:table border="solid 2pt black"> <fo:table-header> <fo:table-row> <fo:table-cell><fo:block font-weight="bold">surname </fo:block></fo:table-cell> <fo:table-cell><fo:block font-weight="bold">first name </fo:block></fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-body> <fo:table-row> <fo:table-cell><fo:block>paszkiewicz</fo:block></fo:table-cell> <fo:table-cell><fo:block>dawid</fo:block></fo:table-cell> </fo:table-row> Patryk Czarnik 05 Presentation XML 2012/13 44 / 1

42 XSL XSL-FO Example visualisation table Patryk Czarnik 05 Presentation XML 2012/13 45 / 1

43 XSL XSL-FO XSL-FO some more features Pagination (odd/even pages etc) Markers (referring to page content from header/footer) Multi-flow documents (from XSL 11, not available in Apache FOP 10) Patryk Czarnik 05 Presentation XML 2012/13 46 / 1

44 XSL-FO support XSL XSL-FO Commercial software: Antenna House XSL Formatter RenderX Ecrion Lunasil LTD Xinc Open software: Apache FOP xmlroff Patryk Czarnik 05 Presentation XML 2012/13 47 / 1

45 XSL-FO critique XSL XSL-FO Main XSL-FO advantages in line with XSL easy and direct way to obtain printout (eg PDF) from XML data general advantages of stylesheets over hard-coded formatting Main XSL-FO disadvantages too complex for simple needs too limited for advanced needs lack of pagination feedback, cannot say if these two elements occur on the same page missing some advanced DTP- and typography-related features hard to format particular elements in a very special way (thus this is a general drawback of using stylesheets) Patryk Czarnik 05 Presentation XML 2012/13 48 / 1

Presentation of XML. Patryk Czarnik. XML and Applications 2016/2017 Lecture

Presentation of XML. Patryk Czarnik. XML and Applications 2016/2017 Lecture Presentation of XML Patryk Czarnik XML and Applications 2016/2017 Lecture 11 26.05.2017 Separation of content and formatting According to best XML practices: Documents consist of content / data. Tags are

More information

What is it? Example of XSL Syntax. Basis of formatting. Transformation & Formatting. Formatting. Areas and Area Tree. 6.1 Overview of XSL Formatting

What is it? Example of XSL Syntax. Basis of formatting. Transformation & Formatting. Formatting. Areas and Area Tree. 6.1 Overview of XSL Formatting 6 XSL: Extensible Stylesheet Language What is it? An advanced style language for XML documents: 1. Language for transforming XML documents: XSLT 2. XML vocabulary for specifying formatting: XSL 1.0, W3C

More information

XSL:FO Reference Guide OmniUpdate Training Conference 2018

XSL:FO Reference Guide OmniUpdate Training Conference 2018 XSL:FO Reference Guide OmniUpdate Training Conference 2018 omniupdate.com Formatting Object Elements fo:root The fo:root is the top node of the formatting object tree and wraps the entire Formatting Object

More information

Style Sheet A. Bellaachia Page: 22

Style Sheet A. Bellaachia Page: 22 Style Sheet How to render the content of an XML document on a page? Two mechanisms: CSS: Cascading Style Sheets XSL (the extensible Style sheet Language) CSS Definitions: CSS: Cascading Style Sheets Simple

More information

Advanced Layout Design

Advanced Layout Design Advanced Layout Design Ron Donaldson Technical Account Manager rdonaldson@smartcommunications.com Agenda Layout Basics CJP Driven Logic Responsive emails What is a Layout? Layouts are responsible for managing

More information

XSLT: How Do We Use It?

XSLT: How Do We Use It? XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman 1 XSLT: Agenda Introduction & Terminology XSLT Walkthrough Client-Side XSLT/XHTML Server-Side XSLT/XHTML More Creative Server-Side XSLT 2 XSLT:

More information

COP 4814 Florida International University Kip Irvine XSLT. Updated: 2/9/2016 Based on Goldberg, Chapter 2. Irvine COP 4814

COP 4814 Florida International University Kip Irvine XSLT. Updated: 2/9/2016 Based on Goldberg, Chapter 2. Irvine COP 4814 COP 4814 Florida International University Kip Irvine XSLT Updated: 2/9/2016 Based on Goldberg, Chapter 2 XSL Overview XSL Extensible Stylesheet Language A family of languages used to transform and render

More information

XML PRESENTATION OF DOCUMENTS

XML PRESENTATION OF DOCUMENTS Network Europe - Russia - Asia of Masters in Informatics as a Second Competence 159025-TEMPUS-1-2009-1-FR-TEMPUS-JPCR Sergio Luján Mora Department of Software and Computing Systems University of Alicante

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!   We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 000-141 Title : XML and related technologies Vendors : IBM Version : DEMO

More information

Generating Images and PDFs with JSP, Servlets and XML. Chád (shod) Darby. aquariussolutions.com. Chád (shod) Darby

Generating Images and PDFs with JSP, Servlets and XML. Chád (shod) Darby. aquariussolutions.com. Chád (shod) Darby 1 Generating Images and PDFs with JSP, Servlets and XML Chád (shod) Darby darby @ aquariussolutions.com Chád (shod) Darby Education Carnegie Mellon University, B.S. Computer Science 1992 Publications Professional

More information

Chapter 3 Style Sheets: CSS

Chapter 3 Style Sheets: CSS WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE JEFFREY C. JACKSON Chapter 3 Style Sheets: CSS 1 Motivation HTML markup can be used to represent Semantics: h1 means that an element is a top-level heading

More information

ORMB Reporting SDK Guide

ORMB Reporting SDK Guide Oracle Revenue Management and Billing Version 2.6.0.1.0 ORMB Revision 1.0 E94082-01 September, 2018 E94082-01 Copyright Notice Copyright 2018, Oracle and/or its affiliates. All rights reserved. Trademark

More information

CSS: The Basics CISC 282 September 20, 2014

CSS: The Basics CISC 282 September 20, 2014 CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML

More information

CSS. https://developer.mozilla.org/en-us/docs/web/css

CSS. https://developer.mozilla.org/en-us/docs/web/css CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties

More information

Extensible Stylesheet Language (XSL)

Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL) Version 1.0 18 October 2000 This version: Latest version: http://www.w3.org/tr/2000/wd-xsl-20001018/ (PDF by RenderX, XML file, HTML (one large file), ZIP file) http://www.w3.org/tr/xsl/

More information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

XML. Objectives. Duration. Audience. Pre-Requisites

XML. Objectives. Duration. Audience. Pre-Requisites XML XML - extensible Markup Language is a family of standardized data formats. XML is used for data transmission and storage. Common applications of XML include business to business transactions, web services

More information

Page Layout Using Tables

Page Layout Using Tables This section describes various options for page layout using tables. Page Layout Using Tables Introduction HTML was originally designed to layout basic office documents such as memos and business reports,

More information

Extensible Stylesheet Language (XSL)

Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL) Version 1.0 W3C Recommendation 15 October 2001 This version: Latest version: http://www.w3.org/tr/2001/rec-xsl-20011015/ (PDF by RenderX, XML file, HTML (one large

More information

Lab Introduction to Cascading Style Sheets

Lab Introduction to Cascading Style Sheets Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,

More information

XSLT (part I) Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 22

XSLT (part I) Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 22 1 / 22 XSLT (part I) Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 22 1 Introduction 2 Templates 3 Attributes 4 Copy of elements 5 Exercises 4 / 22 What is XSLT? XSLT is a (Turing

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

HTML. HTML: logical structure

HTML. HTML: logical structure Web 应用基础 HTML HTML: logical structure HTML html head body frameset title meta base p div hn table ol/ul frame div span p tr li

More information

Author: Irena Holubová Lecturer: Martin Svoboda

Author: Irena Holubová Lecturer: Martin Svoboda NPRG036 XML Technologies Lecture 6 XSLT 9. 4. 2018 Author: Irena Holubová Lecturer: Martin Svoboda http://www.ksi.mff.cuni.cz/~svoboda/courses/172-nprg036/ Lecture Outline XSLT Principles Templates Instructions

More information

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS.

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS. XSL Languages It started with XSL and ended up with XSLT, XPath, and XSL-FO. It Started with XSL XSL stands for EXtensible Stylesheet Language. The World Wide Web Consortium (W3C) started to develop XSL

More information

Presentation. Separating Content and Presentation Cascading Style Sheets (CSS) XML and XSLT

Presentation. Separating Content and Presentation Cascading Style Sheets (CSS) XML and XSLT Presentation Separating Content and Presentation Cascading Style Sheets (CSS) XML and XSLT WordPress Projects Theme Generators WYSIWYG editor Look at tools to support generation of themes Design a new

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University XML Wrap-up CS 431 March 1, 2006 Carl Lagoze Cornell University XSLT Processing Model Input XSL doc parse Input XML doc parse Parsed tree serialize Input XML doc Parsed tree Xformed tree Output doc (xml,

More information

XSLT. Lecture 38. Robb T. Koether. Mon, Apr 21, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) XSLT Mon, Apr 21, / 26

XSLT. Lecture 38. Robb T. Koether. Mon, Apr 21, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) XSLT Mon, Apr 21, / 26 XSLT Lecture 38 Robb T. Koether Hampden-Sydney College Mon, Apr 21, 2014 Robb T. Koether (Hampden-Sydney College) XSLT Mon, Apr 21, 2014 1 / 26 1 XSLT 2 Running XSLT 3 XSLT Files 4 Output Modes 5 XSLT

More information

Exam : Title : XML 1.1 and Related Technologies. Version : DEMO

Exam : Title : XML 1.1 and Related Technologies. Version : DEMO Exam : 000-142 Title : XML 1.1 and Related Technologies Version : DEMO 1. XML data is stored and retrieved within a relational database for a data-centric application by means of mapping XML schema elements

More information

An Introductive Presentation of XSL-FO. Jean-Michel HUFFLEN LIFC University of Franche-Comté GUIT meeting, 15th October 2011

An Introductive Presentation of XSL-FO. Jean-Michel HUFFLEN LIFC University of Franche-Comté GUIT meeting, 15th October 2011 An Introductive Presentation of XSL-FO Jean-Michel HUFFLEN LIFC University of Franche-Comté GUIT meeting, 15th October 2011 1 Contents Using xsl-fo Basic elements Multilingual capabilities Page model Orientation

More information

Comp 336/436 - Markup Languages. Fall Semester Week 9. Dr Nick Hayward

Comp 336/436 - Markup Languages. Fall Semester Week 9. Dr Nick Hayward Comp 336/436 - Markup Languages Fall Semester 2018 - Week 9 Dr Nick Hayward DEV Week assessment Course total = 25% project outline and introduction developed using a chosen markup language consider and

More information

ADOBE VISUAL COMMUNICATION USING DREAMWEAVER CS5 Curriculum/Certification Mapping in MyGraphicsLab

ADOBE VISUAL COMMUNICATION USING DREAMWEAVER CS5 Curriculum/Certification Mapping in MyGraphicsLab ADOBE VISUAL COMMUNICATION USING DREAMWEAVER CS5 Curriculum/Certification Mapping in MyGraphicsLab OBJECTIVES- 1.0 Setting Project Requirement 1.1 Identify the purpose, audience, and audience needs for

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

Display the XML Files for Disclosure to Public by Using User-defined XSL Zhiping Yan, BeiGene, Beijing, China Huadan Li, BeiGene, Beijing, China

Display the XML Files for Disclosure to Public by Using User-defined XSL Zhiping Yan, BeiGene, Beijing, China Huadan Li, BeiGene, Beijing, China PharmaSUG China 2018 Paper CD-72 Display the XML Files for Disclosure to Public by Using User-defined XSL Zhiping Yan, BeiGene, Beijing, China Huadan Li, BeiGene, Beijing, China ABSTRACT US Food and Drug

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

XPath and XSLT. Overview. Context. Context The Basics of XPath. XPath and XSLT. Nodes Axes Expressions. Stylesheet templates Transformations

XPath and XSLT. Overview. Context. Context The Basics of XPath. XPath and XSLT. Nodes Axes Expressions. Stylesheet templates Transformations XPath and XSLT Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@imap.pitt.edu http://www.sis.pitt.edu/~spring Context The Basics of XPath Nodes

More information

XSL Elements. xsl:copy-of

XSL Elements. xsl:copy-of XSL Elements The following elements are discussed on this page: xsl:copy-of xsl:value-of xsl:variable xsl:param xsl:if xsl:when xsl:otherwise xsl:comment xsl:import xsl:output xsl:template xsl:call-template

More information

IBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free

IBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free 000-141 Dumps 000-141 Braindumps 000-141 Real Questions 000-141 Practice Test 000-141 dumps free IBM 000-141 XML and Related Technologies http://killexams.com/pass4sure/exam-detail/000-141 collections

More information

Print & Page Layout Community W3C

Print & Page Layout Community W3C @ W3C Tony Graham Chair http://www.w3.org/community/ppl/ public-ppl@w3.org @pplcg irc://irc.w3.org:6665/#ppl Version 1.0 14 February 2014 2014 Mentea @ W3C 5 Survey 8 Decision making in XSL-FO processing

More information

Block & Inline Elements

Block & Inline Elements Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not

More information

CSS: Cascading Style Sheets

CSS: Cascading Style Sheets CSS: Cascading Style Sheets Computer Science and Engineering College of Engineering The Ohio State University Lecture 13 Evolution of CSS MIME type: text/css CSS 1 ('96): early recognition of value CSS

More information

COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts

COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS

More information

The Benefits of CSS. Less work: Change look of the whole site with one edit

The Benefits of CSS. Less work: Change look of the whole site with one edit 11 INTRODUCING CSS OVERVIEW The benefits of CSS Inheritance Understanding document structure Writing style rules Attaching styles to the HTML document The cascade The box model CSS units of measurement

More information

How to lay out a web page with CSS

How to lay out a web page with CSS Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style

More information

Page-sequence Sample for Book

Page-sequence Sample for Book Nov 2004 Antenna House, Inc. Table of Contents Preface... 1 1. Page Layout... 3 2. Cover Page... 5 3. Table of Contents... 7 4. Body Pages... 9 Preface In this Sample, following page layouts are used,

More information

Web Design and Development Tutorial 03

Web Design and Development Tutorial 03 Table of Contents Web Design & Development - Tutorial 03... 2 Using and Applying CSS to XHTML... 2 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 3 Parent / Child Elements...

More information

Zen Garden. CSS Zen Garden

Zen Garden. CSS Zen Garden CSS Patrick Behr CSS HTML = content CSS = display It s important to keep them separated Less code in your HTML Easy maintenance Allows for different mediums Desktop Mobile Print Braille Zen Garden CSS

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)

More information

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Date: Tuesday 20 th May 2008.

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Date: Tuesday 20 th May 2008. COMP60370 Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE M.Sc. in Advanced Computer Science Semi-Structured Data and the Web Date: Tuesday 20 th May 2008 Time: 09:45 11:45 Please answer

More information

Extensible Markup Stylesheet Transformation (XSLT)

Extensible Markup Stylesheet Transformation (XSLT) Extensible Markup Stylesheet Transformation (XSLT) Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Overview Terms: XSL, XSLT, XSL-FO Value

More information

2. Write style rules for how you d like certain elements to look.

2. Write style rules for how you d like certain elements to look. CSS for presentation Cascading Style Sheet Orientation CSS Cascading Style Sheet is a language that allows the user to change the appearance or presentation of elements on the page: the size, style, and

More information

Using CSS for page layout

Using CSS for page layout Using CSS for page layout Advantages: Greater typographic control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control Increased accessibility

More information

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions Text and Layout Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11 This presentation 344 345 Text in Graphics Maximum flexibility obtained by treating text as graphics and manipulating

More information

INTRODUCTION TO CSS. Mohammad Jawad Kadhim

INTRODUCTION TO CSS. Mohammad Jawad Kadhim INTRODUCTION TO CSS Mohammad Jawad Kadhim WHAT IS CSS Like HTML, CSS is an interpreted language. When a web page request is processed by a web server, the server s response can include style sheets,

More information

8Floats and footnotes

8Floats and footnotes 8Floats and footnotes Floats and footnotes are used to render distinctive information that is supplemental to the information found in the flow, making it easy for the reader to find it because of its

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

QDITA ONLINE COURSE VISUAL EXPERIENCE FORMATION

QDITA ONLINE COURSE VISUAL EXPERIENCE FORMATION The Third International Conference on e-learning (elearning-2012), 27-28 September 2012, Belgrade, Serbia QDITA ONLINE COURSE VISUAL EXPERIENCE FORMATION MIRJANA MILOŠEVIĆ IRVAS International d.o.o. mira.milosevic@irvas.rs

More information

Structured documents

Structured documents Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.

More information

Master's Theses and Graduate Research

Master's Theses and Graduate Research San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research 2010 Thien Tran San Jose State University Follow this and additional works at: http://scholarworks.sjsu.edu/etd_projects

More information

COMP519 Web Programming Lecture 8: Cascading Style Sheets: Part 4 Handouts

COMP519 Web Programming Lecture 8: Cascading Style Sheets: Part 4 Handouts COMP519 Web Programming Lecture 8: Cascading Style Sheets: Part 4 Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University

More information

Appendix D CSS Properties and Values

Appendix D CSS Properties and Values HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by

More information

Using CSS to style the PDF output

Using CSS to style the PDF output Using CSS to style the PDF output Presenter: Radu Coravu radu_coravu@oxygenxml.com @radu_coravu Problems with XSL-FO PDF generation You need: Good XSLT knowledge to make customizations Know how to create

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

To link to an external stylesheet, the link element is placed within the head of the html page:

To link to an external stylesheet, the link element is placed within the head of the html page: CSS Basics An external style sheet is simply a text file (use BBEdit or Textwrangler) containing style rules, saved with the.css extension. It s best practice to keep style sheets for a site grouped within

More information

First Name Last Name CS-081 March 23, 2010 Midterm Exam

First Name Last Name CS-081 March 23, 2010 Midterm Exam First Name Last Name CS-081 March 23, 2010 Midterm Exam Instructions: For multiple choice questions, circle the letter of the one best choice unless the question explicitly states that it might have multiple

More information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

COSC 2206 Internet Tools. CSS Cascading Style Sheets COSC 2206 Internet Tools CSS Cascading Style Sheets 1 W3C CSS Reference The official reference is here www.w3.org/style/css/ 2 W3C CSS Validator You can upload a CSS file and the validator will check it

More information

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2 Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 2 Plan for the next 4 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style Introduction to JavaScript

More information

Introduction to XSLT. Version 1.0 July nikos dimitrakas

Introduction to XSLT. Version 1.0 July nikos dimitrakas Introduction to XSLT Version 1.0 July 2011 nikos dimitrakas Table of contents 1 INTRODUCTION... 3 1.1 XSLT... 3 1.2 PREREQUISITES... 3 1.3 STRUCTURE... 3 2 SAMPLE DATA... 4 3 XSLT... 6 4 EXAMPLES... 7

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Review CSS Preview Review Transparent GIF headline Review JPG buttons button1.jpg button.psd button2.jpg Review Next Step Tables CSS Introducing CSS What is CSS? Cascading

More information

Computer Science E-259

Computer Science E-259 Computer Science E-259 XML with Java Lecture 4: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0) 21 February 2007 David J. Malan malan@post.harvard.edu 1 Computer Science E-259 Last Time DOM Level 3 JAXP 1.3

More information

When you complete this chapter, you will be able to:

When you complete this chapter, you will be able to: Page Layouts CHAPTER 7 When you complete this chapter, you will be able to: Understand the normal fl ow of elements Use the division element to create content containers Create fl oating layouts Build

More information

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS: WEBSITE PROJECT 2 PURPOSE: The purpose of this project is to begin incorporating color, graphics, and other visual elements in your webpages by implementing the HTML5 and CSS3 code discussed in chapters

More information

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Note: We skipped Study Guide 1. If you d like to review it, I place a copy here: https:// people.rit.edu/~nbbigm/studyguides/sg-1.docx

More information

Semi-structured Data 11 - XSLT

Semi-structured Data 11 - XSLT Semi-structured Data 11 - XSLT Andreas Pieris and Wolfgang Fischl, Summer Term 2016 Outline What is XSLT? XSLT at First Glance XSLT Templates Creating Output Further Features What is XSLT? XSL = extensible

More information

XSLT. Patryk Czarnik. XML and Applications 2014/2015 Lecture

XSLT. Patryk Czarnik. XML and Applications 2014/2015 Lecture XSLT Patryk Czarnik XML and Applications 2014/2015 Lecture 10 15.12.2014 XSLT where does it come from? XSL Extensible Stylesheet Language Presentation of XML documents by transformation XSLT XSL Transformations

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

XML and Databases. Lecture 11 XSLT Stylesheets and Transforms. Sebastian Maneth NICTA and UNSW

XML and Databases. Lecture 11 XSLT Stylesheets and Transforms. Sebastian Maneth NICTA and UNSW XML and Databases Lecture 11 XSLT Stylesheets and Transforms Sebastian Maneth NICTA and UNSW CSE@UNSW -- Semester 1, 2010 Outline 1. extensible Stylesheet Language Transformations (XSLT) 2. Templates:

More information

Custom Tables with the LandXML Report Extension David Zavislan, P.E.

Custom Tables with the LandXML Report Extension David Zavislan, P.E. December 2-5, 2003 MGM Grand Hotel Las Vegas Custom Tables with the LandXML Report Extension David Zavislan, P.E. CV41-2 Learn some basic concepts of LandXML and the extensible Stylesheet Language (XSL)

More information

Generating Web Pages Using XSLT

Generating Web Pages Using XSLT Generating Web Pages Using XSLT 238 XSLT for Data Interchange 239 6.1.xml: An Employee List Document

More information

CSS. Location, Inheritance & the Cascade. Copyright DevelopIntelligence LLC

CSS. Location, Inheritance & the Cascade. Copyright DevelopIntelligence LLC CSS Location, Inheritance & the Cascade 1 CSS: Location Where do these rules go? 3 places External CSS files, Embedded style sheets, Inline styles External style sheet place to put CSS one external style

More information

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University Manipulating XML Trees XPath and XSLT CS 431 February 18, 2008 Carl Lagoze Cornell University XPath Language for addressing parts of an XML document XSLT Xpointer XQuery Tree model based on DOM W3C Recommendation

More information

Cascading Style Sheets for XML

Cascading Style Sheets for XML Cascading Style Sheets for XML Cascading Style Sheets for XML xml-css Author and version Daniel K. Schneider Email: Daniel.Schneider@tecfa.unige.ch Version: 0.9 (modified 31/10/10 by DKS) Prerequisites

More information

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning Page Layout contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning 2 1 4.1

More information

Page 1 of 11 Units: - All - Teacher: WebPageDesignI, CORE Course: WebPageDesignI Year: 2012-13 Introduction to the World of Web Standards Why do web development standards play a key role in the proliferation

More information

CSS مفاهیم ساختار و اصول استفاده و به کارگیری

CSS مفاهیم ساختار و اصول استفاده و به کارگیری CSS مفاهیم ساختار و اصول استفاده و به کارگیری Cascading Style Sheets A Cascading Style Sheet (CSS) describes the appearance of an HTML page in a separate document : مسایای استفاده از CSS It lets you separate

More information

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links Using Dreamweaver CC 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Session 4. Style Sheets (CSS) Reading & References.   A reference containing tables of CSS properties Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html

More information

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6 [AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6 Length : 2 Days Audience(s) : New or existing users Level : 3 Technology : Adobe Dreamweaver CS6 program Delivery Method : Instructor-Led (Classroom) Course

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

Web Information System Design No.4 Put Style to Web Documents. Tatsuya Hagino

Web Information System Design No.4 Put Style to Web Documents. Tatsuya Hagino Web Information System Design No.4 Put Style to Web Documents Tatsuya Hagino (hagino@sfc.keio.ac.jp) 1 Web Page Components Combine orthogonal technologies content style programming style JavaScript Programming

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

APPLIED COMPUTING 1P01 Fluency with Technology

APPLIED COMPUTING 1P01 Fluency with Technology APPLIED COMPUTING 1P01 Fluency with Technology Cascading Style Sheets (CSS) APCO/IASC 1P01 Brock University Brock University (APCO/IASC 1P01) Cascading Style Sheets (CSS) 1 / 39 HTML Remember web pages?

More information

Semantic Web. XSL and XQuery. N. Henze IVS Semantic Web Group

Semantic Web. XSL and XQuery. N. Henze IVS Semantic Web Group Semantic Web XSL and XQuery N. Henze IVS Semantic Web Group 01.11.2007 Outline 1 XSL Extensible Stylesheet Language XSLT XML to result tree Understanding A Template Applying Style Procedurally Conditional

More information

CSS Cascading Style Sheets

CSS Cascading Style Sheets CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with

More information

Interview Question & Answers

Interview Question & Answers BASIC Interview Question & Answers OUR TRAINING YOUR CARRER QUESTIONS & ANSWERS OF HTML Ques: - What are the five possible values for position? Ans: - Values for position: static, relative, absolute, fixed,

More information

CSC309 Tutorial CSS & XHTML

CSC309 Tutorial CSS & XHTML CSC309 Tutorial CSS & XHTML Lei Jiang January 27, 2003 1 CSS CSC309 Tutorial --CSS & XHTML 2 Sampel XML Document

More information