HTML
  Home arrow HTML arrow W3C Web Standards
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

W3C Web Standards
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 35
    2004-04-12

    Table of Contents:
  • W3C Web Standards
  • An Eagle's-Eye View
  • First Component: XHTML
  • Attributes
  • Second Component: CSS2
  • Code Explanation
  • Third Component: ECMAScript

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    W3C Web Standards


    (Page 1 of 7 )

    The days of “this site is best viewed in...” are over! We shall no longer be discriminated against for using the browser of our choice. Forget tedious template management, and be prepared to save some dollars on bandwidth! The World Wide Web Consortium have come to agreement on the new Web Standards that will allow us to code and maintain our pages with far less effort, all the while resting assured that everyone can see them as we intended.

    I recall the first time I successfully built a web application that was truly cross-browser functional. It felt great to know that a Mozilla or Opera user would not be penalized with my app. They would see approximately the same visual rendering of the pages, and receive the same DHTML functionality. What did not feel great was the knowledge that literally hours had been wasted just finding ways to 'hack' my own code to hopefully make it work across the board.

    This involved everything from creating multiple style sheets, writing JavaScript browser detection functions to determine which style sheet to load, and rewriting other functions to utilize all object and event models properly. Then to ensure proper layout we had tables, then tables nested within those table, then more nested tables with different padding and colors and spacing and alignment and so on and so forth. Of course we can't forget our old favorite, the 1x1 pixel invisible spacer.gif, that we would employ shamelessly to shift around the contents of our pages.

    Naturally this dumped all kinds of unnecessary HTML code into our pages, but we could justify it by saying “it's a-OK, the world is all going to broadband”, and we'd throw in a few extra tables for good measure!

    But here are just a couple of problems with this rationale. Firstly, what happens when we decide to modify the look of our entire website, even just a little? We want to shift the logo 10 pixels to the right on all 60 pages within our site. If any of you have had the privilege of doing a global search and replace to add in another 10 pixel spacer.gif to 60+ files, you no doubt wished you hadn't.

    And then what happens when your site becomes popular, and people (OK, maybe just you) start to visit the site on a portable device? Oh, the pain and humiliation of seeing your wonderfully advanced tabular interface reduced to little more than a complete mess.

    But take heart! There is hope! Our friends at the W3C have acknowledged measures of comparison for quantitative or qualitative value, yes, standards. As these relate entirely to the Web, they are aptly named: Web Standards.

    More HTML Articles
    More By Justin Cook


       · Nice article Justin. Clear quiet a few things related to W3C Web Standards.
     

    HTML ARTICLES

    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset
    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway