Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us
Domain registration
GPS
Prepaid Phone Card
Promote Your Website
Hurricane Shutters
Promotional Products
Remote Online Backup
Server Racks
Promotional Golf
Disney World Tickets
KVM over IP
Imprinted Gifts
Web Hosting Directory
Computer Hardware

Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


  Managing the Modern Network
Sponsored by HP
In a global economy where information crosses the globe in an instant, and where Web-based applications power business, it's more important than ever to ensure your network is safe from threats and optimized to deliver the data your business needs. »
 
  Business Service Management: Generate Revenue Through IT
Sponsored by HP
IT must now help organizations attract, retain and grow customer relationships and increase customer satisfaction. Business service management (BSM) helps lay the foundation by managing services in dynamic support of business requirements. Learn more. »
 
  Evaluating Software as a Service for Your Business
Sponsored by Webroot
Is Software as a Service just hype, or is something really going on here? See if your company can benefit as SaaS tries to change the face of the enterprise. »
 
  Storage Networking: Configuration and Planning
Sponsored by HP
The most critical part of setting up a SAN is configuring each individual disk array. This guide examines configurations for SAN-attached servers and disk arrays, and looks at the future of IP storage. »
 
  Is Your Disaster Recovery Plan Good Enough?
Sponsored by HP
Preparing for a disaster is more often than not part of the storage planning process, and it is one of the most difficult tasks, since it includes local hardware and software, networking equipment, and a test plan. Learn how to get disaster recovery right. »
 
Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

HTML Standards Compliance - Why Bother ?

Most pages on the web don't comply with the W3C's HTML specifications. In some cases this is because their authors wanted to take advantage of proprietary extensions; but in many other cases, the pages could easily have been made more conformant without any problem. This article explains what the issues are, and why you should and how you can, bring your pages into compliance with the HTML standards.

The fundamental reason for HTML standards compliance is to ensure that you use only those elements and structures that are likely to be understood by the widest range of user agents. It's like English - if I were to speak my parent's dialect (East Anglian) most other English speakers would not understand everything I say. Similarly, if you use proprietary dialects of HTML, some user agents won't understand everything you write. There is however, a standard for HTML which the browser makers say they support, and validation points out the divergences in your HTML source. By adhering to the standards you maximise the accessibility of your work to the widest range of user agents, and therefore, users.

Some people take the view that checking their pages in the two major browsers is validation enough. Close, but no cigar.. There are still dialect variants even within a single make of browser, across the different versions and platforms - let alone between the two. And why neglect all the other user agents such as text-mode browsers, text to speech synthesizers, search engine spiders and other robots, site analysis tools, etc? Perhaps, because it's too much extra work? Maybe, but most of the compliance errors I've seen are trivial to fix, e.g. missing ALT attributes (not tags!) in IMG tags. Others might be harder to understand and fix but practice overcomes this, and in the end your "inner satisfaction" is in knowing that you've done a good professional job that can be appreciated by all.

Sites often use a "browser sniffer" to detect which browser you're using, and then serve you a page specifically optimized for your browser. As the WaSP says in their mission statement

"Creating multiple versions of the same Web page because of incompatibilities among browsers is wasteful and self-defeating for Web developers and their clients. The alternative is to try to resolve the incompatibilities by often complicated workarounds that are costly for developers and their clients - at the cost of preventing Web pages from being flexible enough to be used by emerging television-based and PDA-based browsers."

HTML standards are designed to remain as backward-compatible as possible while also attempting to be as forward-compatible as possible. In particular, they are designed so that older conformant pages are not too likely to break on newer browsers, and future conformant pages will "gracefully degrade" on older browsers. Choosing to adhere to any proprietary format, or none in particular, is very likely to cause a site to look worse under older browsers, or future browsers, than if the standards were followed. According to W3C's HTML 4.0

"Most people agree that HTML documents should work well across different browsers and platforms. Achieving interoperability lowers costs to content providers since they must develop only one version of a document. If the effort is not made, there is much greater risk that the Web will devolve into a proprietary world of incompatible formats, ultimately reducing the Web's commercial potential for all participants.

Each version of HTML has attempted to reflect greater consensus among industry players so that the investment made by content providers will not be wasted and that their documents will not become unreadable in a short period of time.

HTML has been developed with the vision that all manner of devices should be able to use information on the Web: PCs with graphics displays of varying resolution and color depths, cellular telephones, hand held devices, devices for speech for output and input, computers with high or low bandwidth, and so on."

The solution is for developers to adhere to the HTML standards, and for the browser makers to support them fully before adding their innovations. Let's examine the issues in a little more depth:-
  1. BroWWWsers
  2. Be Careful What You Wish For..
  3. HTML Checkers and Validators

BroWWWsers
"Standards": At some point W3C apparently decided to relinquish any claims to be a standards body, and to leave that function to other organisations such as ISO. See for example Information Technology -- Document Description and Processing Languages -- HyperText Markup Language (HTML). The issue is also a matter of semantics as well as history. If there is no specification that can be strictly defined as an HTML 'standard' after v 2.0, there is nevertheless a strong need for some reference point more up-to-date (with current practice) than v 2.0; and so common usage treats the HTML 4.0 Recommendation as the ad-hoc standard until ISO or some other acknowledged standards body rubber-stamps it..


Up to => Home / Authoring / HTML




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers