For incremental enhancement and elegant degradation, incremental enhancement and elegant degradation

Source: Internet
Author: User

For incremental enhancement and elegant degradation, incremental enhancement and elegant degradation

Graceful degradation: Build the complete functionality of the site from the beginning, and then test and fix the browser. Progressive enhancement (progressive enhancement): At the beginning, only the least features of the site are built, and then the function is continuously added to various browsers.
Elegant downgrade: With the elegant downgrade solution, Web sites can work normally in all new browsers. If users are using older browsers, the code will check to see if they work properly. Due to the unique layout of IE box models, most Web designers and developers use specialized style sheets or hack practices for different versions of IE to perform an elegant downgrade. When using the elegant downgrade technology, you must first fully implement the website, including all functions and effects. Then, we will add a candidate solution for browsers that cannot support all functions, so that the old-style browsers will downgrade the experience in some way, but will not be completely ineffective. Progressive enhancement: Starting from the basic functions supported by all browsers, You can gradually add functions that are only supported by new browsers. Progressive enhancement is a method worthy of use by all developers. The progressive enhancement scheme does not assume that all users support javascript, but always provides an alternative method to ensure that users can access (main) the content. When using progressive enhancement, you do not need to reverse engineer a website that has been formed to work normally in an old browser. First, you only need to prepare clear and semantic HTML and complete content for all devices and browsers, and then unobtrusive) to add additional styles and features that are harmless to the basic browser. When the browser is upgraded, they are automatically displayed and used. It is impossible to make the website look consistent in any environment. No matter how much effort you make, the ending will still disappoint you. Instead of trying to make IE look comparable to its ten-year-old browser, it is better to try to improve the accessibility of the website, or conduct more usability tests, not just to make the page look better. Some CSS3 features cannot be simulated in browsers that do not support it. However, if you use progressive enhancement, you do not need to abandon these technologies to make your website suitable for everyone. Just because some people do not want to or cannot upgrade the browser, it is unreasonable for users who use the new browser to enjoy the great technology provided by CSS3. We should first let the website work on the old browser as much as possible, and then continue to implement more enhancements and improvements for it on the new browser. Over time, as more and more people begin to upgrade their browsers and their support continues to increase, more and more people will experience these enhancements and improvements, it continues to make the website better and better, but if you need to deliberately do something.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.