display member is a string that determines the developers’ preferred display mode for the website. The display mode changes how much of browser UI is shown to the user and can range from
browser (when the full browser window is shown) to
fullscreen (when the app is full-screened).
Note: If the
display member is not specified, it defaults to
Note: You can selectively apply CSS to your app based on the display mode, using the
display-mode media feature. This can be used to provide a consistent user experience between launching a site from an URL and launching it from a desktop icon.
The possible values are:
|Display Mode||Description||Fallback Display Mode|
||All of the available display area is used and no user agent chrome is shown.||
||The application will look and feel like a standalone application. This can include the application having a different window, its own icon in the application launcher, etc. In this mode, the user agent will exclude UI elements for controlling navigation, but can include other UI elements such as a status bar.||
||The application will look and feel like a standalone application, but will have a minimal set of UI elements for controlling navigation. The elements will vary by browser.||
||The application opens in a conventional browser tab or new window, depending on the browser and platform. This is the default.||(None)|
BCD tables only load in the browser
Note: Firefox version 47 supports only
browser value of
standalone , and
fullscreen were added in Firefox 57.