# Web manifest

### Definition

**Web app manifests** are part of a collection of web technologies called [progressive web apps](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps) (PWAs), which are websites that can be installed to a device’s homescreen without an app store. Unlike regular web apps with simple homescreen links or bookmarks, PWAs can be downloaded in advance and can work offline, as well as use regular [Web APIs](https://developer.mozilla.org/en-US/docs/Web/API).

The **web app manifest** provides information about a web application in a [JSON](https://developer.mozilla.org/en-US/docs/Glossary/JSON) text file, necessary for the web app to be downloaded and be presented to the user similarly to a native app (e.g., be installed on the homescreen of a device, providing users with quicker access and a richer experience). PWA manifests include its name, author, icon(s), version, description, and list of all the necessary resources (among other things).

Web app manifests are deployed in your HTML pages using a [`<link>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link) element in the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head) of a document:

```
<link rel="manifest" href="manifest.json">
```

### Members

* [background\_color](https://w3c.github.io/manifest/#dfn-background_color) - describes the expected background color of the web application
* [dir](https://w3c.github.io/manifest/#dfn-dir) - member specifies the base direction for the localizable members of the manifest.
* [display](https://w3c.github.io/manifest/#dfn-display) -  represents the developer's preferred display mode for the web application
* [icons](https://w3c.github.io/manifest/#dfn-icons) - are images that serve as iconic representations of the web application in various contexts
* [lang](https://w3c.github.io/manifest/#dfn-lang) - is a string in the form of a language tag that specifies the primary language for the values of the manifest's localizable members&#x20;
* [name](https://w3c.github.io/manifest/#dfn-name) - is a string that represents the name of the web application as it is usually displayed to the user
* [orientation](https://w3c.github.io/manifest/#dfn-orientation) - is a string that serves as the default screen orientation for all top-level browsing contexts of the web application
* [prefer\_related\_applications](https://w3c.github.io/manifest/#dfn-prefer_related_applications) - is a boolean that is used as a hint for the user agent to say that related applications should be preferred over the web application
* [related\_applications](https://w3c.github.io/manifest/#dfn-related_applications) - is an application accessible to the underlying application platform that has a relationship with the web application
* [scope](https://w3c.github.io/manifest/#dfn-scope) - is a string that represents the navigation scope of this web application's application context.
* [short\_name](https://w3c.github.io/manifest/#dfn-short_name) - is a string that represents a short version of the name of the web application
* [shortcuts](https://w3c.github.io/manifest/#dfn-shortcuts) - is an array of shortcut items that provide access to key tasks within a web application
* [start\_url](https://w3c.github.io/manifest/#dfn-start_url) - is a string that represents the start URL , which is URL that the developer would prefer the user agent load when the user launches the web application
* [theme\_color](https://w3c.github.io/manifest/#dfn-theme_color) - the default theme color for an application context.
