JS Terminology Explanation

Source: Internet
Author: User

    • Browser sniffing (browser sniffing): Gets the name and version of the browser via JS.
    • Object detection: Checks whether the user agent supports a certain object and makes it a key distinguishing criterion.
    • Document Object Model, DOM: Each browser provides a document that is displayed and manipulated, and is implemented through the Document Object model.
    • Progressive Enhancement (Progressive enhancement): a practice that only targets the user-provided functionality that can be seen and used, starting with the lowest common features, and then detecting whether the user supports the ever-increasing features.
      • Start with a valid, semantically correct, (X) HTML containing all the content and a meaningful structure.
      • Add style sheets to improve the look, legibility, and clarity of your structure-even adding a simple scrolling effect to make it more vibrant.
      • Add JavaScript.
        • The OnLoad event handler function of the Window object enables JavaScript to start when the document is loaded.
        • JavaScript detects whether the current user agent supports the users DOM.
        • Detects if all the elements are available and applies the expected functionality.
    • Web accessibility (Accessibility): a practice that allows a website to be used by everyone, regardless of his disability.
      • For example, visually impaired users can use a special software called screen reader to read the contents of a webpage to them.
      • For example, a user with a difficult action can use some tools to control the keyboard and navigate the page.

 

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.