Why use Web Standards?.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

Dr. Alexandra I. Cristea XHTML.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
Web Standards & Techniques Why Should I Care? I’m so sick of the attitude I run into “well, web standards inhibit innovation.” What a crock. What’s inhibiting.
Project 1 Introduction to HTML.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
1st Project Introduction to HTML.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
CS 415 N-Tier Application Development By Umair Ashraf July 16,2013 National University of Computer and Emerging Sciences Lecture # 12 HTML/ XHTML/ HTML5.
Chapter ONE Introduction to HTML.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Design Basic Concepts.
Chapter 1 Variables in the Web Design Environment
Cs413_design01.ppt Web Design vs. GUI Design Designing for the Web: the designer has to give up full control of the design In traditional design, you control.
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.
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
Today’s objectives  Complete web page  Using xhtml & CSS  Adding CSS to documents Embed url(File);  CSS.
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.
3 XHTML.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
XHTML and Style. History of the Internet Internet has been around since the early 1960’s as part of a program with universities and the US government.
Web Standards Web Design – Sec 2-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Professor Waterman Cascading Style Sheets (CSS) is a language that works with HTML documents to define the way content is presented. The presentation.
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.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Introduction to Mobile Applications. Wireless Applications Personal Time and KnowledgeManagemnt Personal Health & Security PersonalNavigation Remote Monitoring.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
This presentation was written in March 2002 and is provided as a template. It should be tailored to a particular company’s needs as well as updated. The.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XML by Cheryl M. Hughes.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
Web Page Programming Terms. Chapter 1 Objectives Describe Internet and Understand Key terms Describe World Wide Web and its Key terms Identify types and.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Working with Cascading Style Sheets
Project 1 Introduction to HTML.
Markup Languages Web Development.
4.01B Authoring Languages and Web Authoring Software
Chapter 1 Introduction to HTML.
Introduction to HTML.
Web Standards Web Design – Sec 2-3
Introduction to HTML.
W3C Web standards and Recommendations
CX Introduction to Web Programming
Project 1 Introduction to HTML.
Introduction to XHTML.
Web Standards Web Design – Sec 2-3
Microsoft Office Illustrated
Markup Languages Gilok Choi 9/17/2018
Web Programming– UFCFB Lecture 9
APTECH JANAKPURI INSTITUTE PROVIDING WEB DESIGNING COURSES Address:- J-1,2nd Floor, Opp Metro Pillar No – 559, Janakpuri East, Delhi /42.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
World Wide Web Consortium W3C
Introducing HTML & XHTML:
4.01B Authoring Languages and Web Authoring Software
Cascading Style Sheets
Creating a Web Page Using HTML
What are Cascading Stylesheets (CSS)?
Web Programming– UFCFB Lecture 9
Presentation transcript:

Why use Web Standards?

The Three Layers of the Web

What are Web Standards? Web standards are technologies, established by the W3C and other standards bodies, that are used to create and interpret web-based content. These technologies are designed to future-proof documents published on the Web and to make those documents accessible to as many people and devices as possible.

What are Web Standards? When the Internet and the Web became mainstream in the second half of the nineties, web browser vendors had not yet implemented CSS (Cascading Style Sheets) well enough for web developers to be able to use it to control the presentation of an HTML document.

What are Web Standards? The lack of implementation is partly understandable considering that the specification for CSS Level 1 was published in 1996 and the specification for CSS Level 2 in 1998.

What are Web Standards? The lack of CSS support in web browsers, combined with demands from graphic designers used to the level of control that is possible when working with printed material, led to the abuse of HTML in any way possible to control the visual presentation of a web page.

What are Web Standards? One example of this is the major “breakthrough” that was made when designers discovered that by using the attribute border=“0" to hide the borders of an HTML table, an invisible grid that could be used to control layout was created. Another example is the use of transparent, and thus invisible, images called “spacer GIFs” to control spacing and margins.

What are Web Standards? Since HTML was never meant to be used to control the presentation of a document, hacks, invalid code, and vendor-specific elements and attributes were (and still are) used. Validation was something that very few knew about or used.

What are Web Standards? As new versions of web browsers were released, CSS support was improved and extended, but not at the rate it should have been.

What are Web Standards? However, there is no longer any reason not to use HTML the way it was meant to be - to describe the structure and content of a document and not its presentation. For that, we can now use CSS, which was designed specifically for that purpose.

Structural languages HTML (Hypertext Markup Language) 4.01 XHTML (Extensible Hypertext Markup Language) 1.0 XHTML 1.1 HTML5 XML (Extensible Markup Language) 1.0

Presentation languages CSS (Cascading Style Sheets) Level 1 CSS Level 2 revision 1 CSS Level 3 (in development) MathML (Mathematical Markup Language) SVG (Scalable Vector Graphics)

Object Models DOM (Document Object Model) Level 1 DOM Level 2 DOM Level 3 Core

Scripting languages ECMAScript 262 (the standardised version of JavaScript)

What are Web Standards? When a document is said to adhere to web standards, it means that the document besides using the above technologies: Consists of valid HTML or XHTML Uses CSS instead of tables for layout Is properly structured and semantically marked up Works in any web browser

What are Web Standards? “Works in any web browser” does not mean “looks the same in every web browser”. Making a document look identical across browsers and platforms is next to impossible.

What are Web Standards? Documents that are published on the web will be accessed by a wide variety of browsing devices on several operating systems, with monitors of differing size and quality (or no monitor at all), by users who may have changed their browser’s default text size and other preferences.

Why use Web Standards? Some web developers and web designers have a resistance towards using web standards. Common arguments are “It’s too difficult”,” It works anyway”, and “The tools I use create invalid code”.

Why use Web Standards? Simpler development and maintenance: Using more semantic and structured HTML makes it much easier and quicker to understand code created by somebody else. Compatibility with future web browsers: When you use defined standards and valid code you future-proof your documents by reducing the risk of future web browsers not being able to understand the code you have used.

Why use Web Standards? Faster download and rendering of web pages: Using CSS for presentation tends to make HTML documents leaner which means quicker downloads for your visitors. Better accessibility: Semantic HTML, where structure is separated from presentation, makes it easier for screen readers and alternative browsing devices to correctly interpret the content.

Why use Web Standards? Better search engine rankings: The separation of content and presentation makes the content represent a larger part of the total file size. Combined with semantic markup this generally improves search engine rankings.

Why use Web Standards? Simpler adaptation: A semantically marked up document can be easily adapted to print and alternative browsing devices, like handheld computers and mobile phones, just by linking to a different CSS file. You can also make site-wide changes to presentation by editing a single file.

W3C HTML Specifications and Timeline Recommendation HTML 3.2 14. January 1997 HTML 4.0 24. April 1998 HTML 4.01 24. December 1999 HTML 5 19. October 2010 (latest draft)

W3C XHTML Activities XHTML is a stricter and cleaner version of HTML.

XHTML Versions – 1.0 XHTML 1.0 XHTML 1.0 became a W3C Recommendation 20. January 2000.  XHTML 1.0 Second Edition XHTML 1.0 Second Edition became a W3C Recommendation 1. August 2002. The second edition was not a new version, but an update and a "bug-fix".

About XHTML 1.0 XHTML 1.0 was the first major change to HTML since 1997. XHTML was an important step for creating a standard that provided richer web pages on a wider range of user agents (browsers), like desktop PCs, mobile (wireless) devices, and cell phones.

About XHTML 1.0 XHTML 1.0 reformulates HTML 4.01 in XML. XHTML 1.0 relies on HTML 4.01 for the meanings of the HTML tags. W3C's next step included modularization of XHTML into smaller element collections, to make it easier to combine XHTML with other markup languages, like vector graphics or multimedia. 

About XHTML 1.0 Modularization of XHTML reduced development costs, improved cooperation with other applications (like databases), easier communication with different user agents, and cleaner integration between HTML and different XML standards.

W3C XHTML Activities - XHTML 1.0 XHTML 1.0 is a reformulation of HTML 4.01 in XML.

W3C CSS Activities CSS defines HOW HTML elements are to be displayed.

CSS Versions CSS1 CSS1 became a W3C Recommendation 17. December 1996. CSS2 became a W3C Recommendation 11. January 1999. CSS2 has added support for media (printers and aural devices), downloadable fonts, element-positioning and tables.

CSS Versions CSS3 CSS3 is about breaking CSS into smaller modules.

W3C XML Specifications and Timeline Draft/Proposal Recommendation CSS 1 17. Dec 1996 CSS 1 (Revised) 11. Apr 2008 CSS 2 12. May 1998 CSS 2.1 08. Sep 2009 CSS Mobile Profile 2.0 10. Dec 2008 CSS TV Profile 1.0 14. May 2003 CSS Print Profile 13. Oct 2006

W3C XML Specifications and Timeline Draft/Proposal Recommendation CSS 3 23. May 2001 CSS 3 Namespace 23. May 2008 CSS 3 User Interface 11. May 2004 CSS 3 Selectors 10. Mar 2009 CSS3 Fonts 18. Jun 2009 CSS3 Colors 21. Jul 2008 CSS 3 TV 14. May 2003 CSS 3 Backgrounds and borders 10. Sep 2008

W3C XML Specifications and Timeline Draft/Proposal Recommendation CSS 3 Text 06. Mar 2007 CSS 3 Lists 07. Nov 2002 CSS 3 Line 15. May 2002 CSS 3 Box model 09. Aug 2007 CSS3 Multi column 30. Jun 2009 CSS3 Ruby 14. May 2003 CSS 3 Speech 16. Dec 2004

W3C XML Specifications and Timeline Draft/Proposal Recommendation CSS 3 Paged Media (PM) 10. Oct 2006 CSS 3 Generated PM 04. May 2007 CSS 3 Print 13. Oct 2006 CSS 3 Values 19. Sep 2006 CSS3 Cascade 15. Dec 2005 CSS3 Template Layout 02. Apr 2009 CSS 3 Media Queries 15. Sep 2009