1 A Tool-box for Web-site Maintenance Manjula Patel UKOLN University of Bath Bath, BA2 7AY UKOLN is funded by the Library and Information Commission, the.

Slides:



Advertisements
Similar presentations
1. XP 2 * The Web is a collection of files that reside on computers, called Web servers. * Web servers are connected to each other through the Internet.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Introduction to XHTML Programming the World Wide Web Fourth edition.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Chapter 1 The Study of Body Function Image PowerPoint
Copenhagen, 6 December 2004 Modern CSS Principles Miruna Bădescu Finsiel Romania.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
Introduction to HTML, XHTML, and CSS
Cascading Style Sheets
1 © Netskills Quality Internet Training, University of Newcastle Introducing Cascading Style Sheets © Netskills, Quality Internet.
UKOLN, University of Bath
September Public Library Web Managers Workshop 2000 Cascading Style Sheets Manjula Patel UKOLN University of Bath Bath, BA2 7AY UKOLN is funded.
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
HTML Tags and Their Functions
Social Web Design 1 Darby Chang Social Web Design.
© 2010 Delmar, Cengage Learning Chapter 9 Positioning Objects with AP Div Tags.
The University of Adelaide HTML Basics: Getting your code to work Peter Murdoch March 2014 PREPARING GOOD LOOKING DOCUMENTS.
Creating Tables in a Web Site
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
HIGH LEVEL OVERVIEW: CSS CSS SYNTAX CONSISTS OF A SET OF RULES THAT HAVE 3 PARTS: A SELECTOR, A PROPERTY, AND A VALUE. IT’S NOT NECESSARY TO REMEMBER THIS.
CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
Essentials for Design JavaScript Level One Michael Brooks
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT WORD Lesson 8 – Increasing Efficiency Using Word.
Dr. Alexandra I. Cristea XHTML.
Dr. Alexandra I. Cristea CSS Dr. Alexandra I. Cristea Source:
25 seconds left…...
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Intro To Cascading Style Sheets By Mario Yannakakis.
1 Wiki Tutorial. 2 Outline of Wiki Tutorial 1) Welcome and Introductions 2) What is a wiki, and why is it useful for our work in moving forward the program.
CSS Cascading Style Sheets. What is CSS? CSS stands for Cascading Style Sheets (the page—or sheet—helps you create a style that will cascade across all.
Chapter 13 Web Page Design Studio
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style.
Cascading Style Sheets
1 Cascading Style Sheets™ (CSS) Outline 5.1 Introduction 5.2 Inline Styles 5.3 Embedded Style Sheets 5.4 Conflicting Styles 5.5 Linking External Style.
Today CSS HTML A project.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
CSS. CSS, or Cascading Styles Sheets, is a way to style HTML. Whereas the HTML is the content, the style sheet is the presentation of that document.
Introduction to CSS.
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.
HyperText Markup Language (HTML) Uses plain text to add markup instructions to a file. If you can't produce it with a standard keyboard, it can't go into.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Unit 20 - Client Side Customisation of Web Pages
Chapter 8 Creating Style Sheets.
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.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
CO1552 – Web Application Development Cascading Style Sheets.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
DHTML. What is it? Dynamic HTML. Not a standard unlike HTML or Java It is a term applied by both Netscape and Microsoft to a collection of technologies.
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
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.
Madam Hazwani binti Rahmat
CX Introduction to Web Programming
Cascading Style Sheets
DynamicHTML Cascading Style Sheet Internet Technology.
Web Programming– UFCFB Lecture 11
What are Cascading Stylesheets (CSS)?
DynamicHTML Cascading Style Sheet Internet Technology.
Presentation transcript:

1 A Tool-box for Web-site Maintenance Manjula Patel UKOLN University of Bath Bath, BA2 7AY UKOLN is funded by the Library and Information Commission, the Joint Information Systems Committee (JISC) of the Higher Education Funding Councils, as well as by project funding from the JISC and the European Union. UKOLN also receives support from the University of Bath where it is based. URL

2 Outline Contents Why maintain a web-site? Web-site maintenance -the Big Picture Style Sheets Other Tools and Techniques Concluding Remarks

3 Why maintain a web-site? Web space is dynamic in nature Lack of maintenance leads to a stale site Cost of change can dwarf initial set-up A successful/effective site remains alive

4 Typical changes to a web-site a revised look and feel modified navigation bars redesign to take advantage of tables and frames addition of new sections of content a return to a non-frames design

5 Web-site maintenance activities W3C activities Navigational issues Usability issues Accessibility issues Analysis and Evaluation Validation/Conformance Cross-browser issues Link checking Style Sheets Scripting (CGI,VBScript, JavaScript..) Server Side Includes

6 Style Sheets What are they? Whats so good about them? How do we make use of them? W3C CSS activity Cross-browser issues

7 What are style sheets? Initiative led by W3C Enable precise control over presentation Enable variation in rendition of web-pages A set of guidelines to tell a browser how to display/present a document

8 A set of guidelines for presenting a document document background should be blue top-level heading should be in 20pt Bold Arial (or Helvetica, or a sans-serif font) text of the body should be 10pt Times Roman and black; links should be maroon; visited links should be yellow Block quotations should be set in 8pt Times italic. Text should be black and background pink Warnings should be indented on both sides and set in yellow

9 Why are style sheets useful? Separation of presentation from structure HTML designed for expressing structure Associate presentation with structure in a clean manner Ease of maintenance

10 How do we use style sheets? Inline styles Embedded style blocks External linked style sheets (imported style sheets)

11 Inline Styles This is a paragraph with styles applied. It is an indented paragraph with a grey background and a sans-serif font. If this were a normal HTML paragraph you could not do this without using some combination of other HTML tags such as tables, blockquotes or inline images.

12 Result in Netscape Navigator

13 Inline Styles This is a paragraph with styles applied. It is an indented paragraph with a grey background and a sans-serif font. If this were a normal HTML paragraph you could not do this without using some combination of other HTML tags such as tables, blockquotes or inline images.

14 Embedded Style blocks <!-- P { margin-right: 10pt; margin-left: 10pt; font-family: sans-serif; background: yellow;} H1 { font-family: sans-serif; font-size: 28pt;} -->

15 Result in Netscape Navigator

16 Embedded Style Blocks Style definitions are collected in one place Easy to locate and change Note use of comment tags

17 Embedded Style blocks <!-- P { margin-right: 10pt; margin-left: 10pt; font-family: sans-serif; background: yellow;} H1 { font-family: sans-serif; font-size: 28pt;} -->

18 Linked Style Sheets In styles.css file: P {margin-right: 10pt margin-left: 10pt; font-family: sans-serif; background: yellow;} H1 {font-family: sans-serif; font-size: 28pt;} In HTML file between tags:

19 Linked Style Sheets External or linked style sheets can be applied to a page or set of pages Provide an easy way to change or experiment with the look-and-feel of an entire site

20 Cascading Style Sheets Embedded, inline or linked styles can be combined Designed to inherit from the next larger form of style The cascade enables general style for a web-site, with fine tuning for pages or specific elements

21 Style Classes Enable creation of classes of HTML element to which a style can be applied e.g. A Tip grey background 30pt indent red text

22 Style Classes <!-- P.Tip { margin-right: 30pt; margin-left: 30pt; background: grey; color: red; } --> we have just created a style for "Tips" This paragraph will take on the style of a "Tip".

23 Results in Netscape Navigator

24 Styles and Properties Styles fall into roughly four basic categories: font formatting (font family, size and style) block formatting (alignment, indentation) colours and backgrounds link styles For a comprehensive coverage see:

25 W3C Activity in CSS CSS level1 --recommendation Dec 1996 CSS Level 2 --recommendation May 1998 Conformance testing (CSS1 and CSS2) CSS1 Test suite W3C Core style sheets See:

26 Cross-Browser Issues No current browser provides 100% support for CSS level 1 Support for CSS level 2 very limited Huge range of browsers in use, with differing amounts of support for CSS Consider use of style sheets an investment into future maintenance WebReviews Master/Safe/Danger list WebReviews CSS1 Leader Board See:

27 Other Tools and Techniques HTML validators Link checkers Accessibility testing Spell checkers Language Translators Tools for analysis and evaluation

28 HTML Validation

29 Accessibility Testing

30 Concluding remarks Web-site maintenance involves a huge variety of activities Designing for change can help reduce the burden Style sheets help to ease maintenance Many automated tools now in existence