Описание тега unobtrusive-javascript

Unobtrusive JavaScript is a general approach to the use of JavaScript in web pages.

Unobtrusive JavaScript is a design approach to the use of JavaScript in web pages that emphasizes scalability, maintainability and cross-browser and cross-device compatibility.

Its main focuses are:

  • Separation of functionality (the "behavior layer") from a Web page's structure/content and presentation
  • Best practices to avoid the problems of traditional JavaScript programming (such as browser inconsistencies and lack of scalability)
  • Progressive enhancement as opposed to Graceful Degradation to support the most user agents right from the start and include additional functionality for more capable ones later