Install web apps with the new HTML install element
7 hours ago
- #Web Development
- #Web Apps
- #HTML Elements
- The new <install> element allows web app installation via HTML without JavaScript.
- It enables trusted install buttons controlled by the browser, with standardized text and icons.
- Supports installing the current app or cross-origin apps using installurl and manifestid attributes.
- Provides fallback content and event handling for success, dismissal, and errors.
- Available for testing via browser flags or an origin trial in Chrome/Edge versions 148-153.
- Compares to the Web Install API (navigator.install()), offering declarative vs. imperative approaches.