Benefits of Web Standards Daniel M. Frommelt University of Wisconsin - Platteville Copyright Daniel M. Frommelt, 2004. This work is the intellectual property.

Slides:



Advertisements
Similar presentations
1 © Netskills Quality Internet Training, University of Newcastle Structure, Presentation and Navigation © Netskills, Quality.
Advertisements

XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
WeB application development
Cascading Style Sheets
Standards and Increasing Maintainability on Web- based Systems James Eaton SE4112/16/2006.
Web Standards XHTML and CSS. Today’s Show ► Discuss web standards ► XHTML ► Layout Without Tables ► CSS ► Why Web Standards?
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
XHTML Basics.
Advanced Techniques for Web Developers The Power of CSS Sandra Clark Senior Software Developer The Constella Group
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
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.
XHTML & CSS 2 By Trevor Adams. Last week XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Project 1 Introduction to HTML.
XHTML 16-Apr-17.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Tutorial 1 Developing a Basic Web Page
Chapter 1 Understanding the Web Design Environment
University of WashingtonComputing & Communications Standards-Based Web Publishing XHTML and CSS Rick Ells Senior Computer Specialist Computing & Communications.
© Ms. Masihi 1.  A web page is created using a language called, Hypertext Markup Language, better known as HTML Code.  HTML is a user friendly language.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Web Design Basic Concepts.
Chapter 1 Variables in the Web Design Environment
Structure Content Presentation Semantics.
Creating a Simple Page: HTML Overview
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
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.
Different ways to implement CSS. There are four different ways to use CSS in your web pages: – Inline CSS – Embedded CSS/Internal CSS – Linked CSS/External.
Week 1.  Phillip Chee   Ext.1214 
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
The Internet and the World Wide Web. The Internet A Network is a collection of computers and devices that are connected together. The Internet is a worldwide.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
3 XHTML.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Creating Webpage Using HTML
INTRODUCTION TO HTML5 Semantic Layout in HTML5.  The new semantic layout in HTML5 refers to a new class of elements that is designed to help you understand.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
8/13/2003 Designing Without Tables Using CSS by Reshma Kumar and Marina Naito.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Project 1 Introduction to HTML.
Chapter 1 Introduction to HTML.
Introduction to HTML.
W3C Web standards and Recommendations
XHTML Basics.
Web Programming– UFCFB Lecture 9
XHTML Basics.
XHTML Basics.
Digital Design – Copyright Law
Why use Web Standards?.
XHTML Basics.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
XHTML Basics.
Web Programming– UFCFB Lecture 9
Presentation transcript:

Benefits of Web Standards Daniel M. Frommelt University of Wisconsin - Platteville Copyright Daniel M. Frommelt, This work is the intellectual property of the author. Permission is granted for this material to be shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of the author. To disseminate otherwise or to republish requires written permission from the author.

Benefits of Web Standards Presentation and documentation are

Benefits of Web Standards Concept of Web Standards Concept of DIV “skeleton” structure Concept of CSS “skins” markup Reasons to make the switch

“Web Standards?” Web Standard Basics

“So what are Web Standards?” XHTML 1.0 or higher CSS Level 1 & CSS Level 2 DOM Level 1 & DOM Level 2 ECMAScript 262 (current JavaScript) Web Standard Basics Web Recommendations Standards

“What the heck is XHTML?” “The Extensible HyperText Markup Language (XHTML™) is a family of current and future document types and modules that reproduce, subset, and extend HTML, reformulated in XML. XHTML Family document types are all XML-based, and ultimately are designed to work in conjunction with XML-based user agents. XHTML is the successor of HTML, and a series of specifications has been developed for XHTML.” Web Standard Basics

“How do I convert to XHTML?” Declare the DOCTYPE Tag and attributes in lower case Attributes must have quoted values All tags must have an end tag ( ) Nest tags correctly Validate the page ( Web Standard Basics

“Any Benefits to XHTML?” More Accessible Eliminates silly mistakes in code Renders more accurately in browsers Backward AND forward compatible First step toward Web Standards Web Standard Basics

XHTML is the Future XHTML 1.0 Transitional XHTML 1.0 Strict XHTML 1.1 XHTML 2.0 (W3C Working Draft) No more development of HTML! Web Standard Basics

Table Design Tables can build a nice layout Tables are predictable However, Tables bloat the code Can we eliminate tables? DIV “skeleton” structure

Table Purpose “Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.” DIV “skeleton” structure

Alternative Design Method DIVs can be an alternate to DIVs are a container like a table cell CSS can position the DIV xxx #article{ width:250px; padding:5px; float:right;} DIV “skeleton” structure

DIV Design Use DIVs to create the skeleton of the page. There should be no display-specific information in the XHTML The Goal: separate the information from the layout / presentation of the page Layout is entirely controlled by CSS DIV “skeleton” structure

DIV Design Identify major sections of the page –Masthead (Logo and Title) –Menu –Content –Search –Footer Don’t overuse the DIVs! Don’t worry about positioning in the XHTML! DIV “skeleton” structure

DIV Structure? Learning curve of DIV Future of browsers is uncertain WYSIWYG Editors Current Topics

Skinning Concept CSS “skinning” The skin is the design placed over the skeleton structure It’s like a cell phone -Model of phone is the skeleton -Face plates are the skins -You can swap face plates

Skinning Concept CSS “skinning” Like a cell phone, web pages can have “face plates” (skins) that are changeable The CSS skins have nothing to do with the XHTML markup External CSS file Easily modifiable Faster Redesign

Overview of New Structure CSS “skinning” XHTML DIVs are like the parts of the phone (antenna, buttons, speaker, etc.) Layout CSS is like the different models of phones (where parts are positioned) Skin CSS is like the face plates

CSS Zen Garden The best example showing the power of CSS skinning! Web Standards don’t have to be ugly! CSS Skinning Topics

“How do I build this?” Style sheets for a skinnable website: 1.Base CSS – simple structure 2.Advanced CSS – final 3.Skin CSS – 4.Fonts CSS 5.Printer Friendly CSS Developing Skins

“Why so many CSS files?” Setting the stage for forward AND backward - fix non-standard browsers Layout CSS separate from Skin Fonts can now be adjusted quickly Printer Friendly without the hassle! It’s just too cool! Developing Skins

Emphasis on Information In 1995, Al Gore coined the phrase: “Information Superhighway” NOT “Design Superhighway” Reasons to follow Web Standards

Emphasis on Information Web is about delivering information Design must be secondary You cannot control what user agent will open the page, so you must be ready Backward and forward compatibility is essential Reasons to follow Web Standards

Backward Compatibility Compliant with older browser without having to make a separate set of pages Design fails gracefully – It’s not pretty, but the information is there! Reasons to follow Web Standards

Forward Compatibility More compliant user agents get better designed / presented information Not committed to one platform / browser Ready for what the future brings –PDA –Cell phone –TV –Screenreaders Reasons to follow Web Standards

Bandwidth Savings Using web standards saves on bandwidth Code reduction with limited markup provides cleaner and simpler code CSS files are cached Reasons to follow Web Standards

Slashdot Example Slashdot is a well known site: Copied the index on July 22, 2003 HTML 3.2 code Table driven design Reasons to follow Web Standards

Slashdot Example Stages There are four stages (folders): Original file as of July 22, 2003 XHTML with no markup Re-structured XHTML – identify data Web Standards Version Additional information and example zip file is online at: Reasons to follow Web Standards

Slashdot Bandwidth Savings Actual savings per page: Without caching CSS: ~2KB With caching CSS: ~9KB That’s not a lot, however it adds up! Reasons to follow Web Standards

Slashdot Bandwidth Savings Slashdot serves 50 million pages a month, which is ~18 pages per second. ( Savings per day: Without caching CSS: ~3.15 GB With caching CSS: ~14.0 GB Reasons to follow Web Standards

Personal Bandwidth Story Over a year ago… we made the leap. Saved a few KB, and thought “big deal.” Network team PANICKED because of unexpected drop in server load. Everyone is much happier / wiser now! Reasons to follow Web Standards

In Conclusion Web Standards is a journey Not a quick fix, so don’t expect it Major benefits! –Forward / Backward compatible –Bandwidth savings –Easier transitions for future updates –Printer Friendly! Web Standards

“Don’t Panic” Web Standards

Personal Speaking Story WebDev Share Presenter 2003 Met Jeffrey Zeldman, A List Apart Asked to write “Retooling Slashdot” Which immediately got “Slashdotted” Web Standards

Presentation & Documentation Benefits of Web Standards Copyright Daniel M. Frommelt, This work is the intellectual property of the author. Permission is granted for this material to be shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of the author. To disseminate otherwise or to republish requires written permission from the author.