Standards-compliance is the compliance of a website or web browser with the web standards of the World Wide Web Consortium (W3C). To ensure interoperability a standards-compliant web site does not use proprietary software methods or features of a browser.

ALTHOUGH there is no perfect browser That adhered to all standard citation needed ] , advancement has-been made by web browsers MOST in the past FEW years Ensure That will better interoperability. In the past a standards-compliant browser Sometimes Meant a browser other than Internet Explorer original research? ] (Qui HAD poor compliance prior to the release of 8.0 in 2009).

Current use of the term “standards-compliance” refers to coding practices in relation to the use of HTML or XHTML , with Cascading Style Sheets (CSS) to define the layout, colors, and fonts of a web page. The Web Standards Project (WaSP) is a group, mainly composed of experienced web developers, whose mission is to encourage the use of these standards globally. Their recent efforts have been to promote the use of CSS 2.0 standard web browsers, including how to respond to invalid markup and styles. The tests developed by WaSP are called Acid1 , Acid2 , and Acid3, with each testing CSS1, CSS2, and CSS2 + (CSS2 + Client-Side Scripting), respectively. quote needed ]

Purpose

The purpose of the standard CSS 2.0 is to keep data separate from its format, to maximize portability and interoperability. [1] To see how the standard CSS 2.0 could be applied, consider the following HTML:

< h1 color = "lime" align="center" > Horses </ h1 >
< p color = "yellow" bgcolor = "black" > These magnificent creatures can ... </ p >

In this example, the data is not separated from its formatting. To make this example CSS 2.0 compliant, the above code would look something like this:

  • style.css:
 h1 { color : lime ; text-align : center ; }
 p { color : yellow ; background-color : black ; }
  • index.html:
 < h1 > Horses </ h1 >
 < p > These magnificent creatures can ... </ p >

In this example, you can see that it has been formatted, but it is easy to tell that it is not related to data at all, but only used for formatting. All browsers that are 100% CSS 2.0 compliant should display the latest example (almost) identically.

Modern web browsers currently under development, or recently released ( Opera 10 , Mozilla Firefox 4 , Microsoft’s Internet Explorer 9 , Safari 5 , Google Chrome 5 ) fully support the standard CSS 2.0 , as well as some of the CSS 3.0 standards. [2] [3]

External links

  • The World Wide Web Consortium (W3C)
  • “Speeding up Browser Evolution”, by Mike Davidson (2004) .
  • W3C Compliant – articles written by experts on the subject of W3C’s standards.

References

  1. Jump up^ http://pages.rediff.com/standards-compliant/798755
  2. Jump up^ “Web browser standards support” .
  3. Jump up^ “CSS web browser support” .