Link Relationships
HTML rel="manifest"
Associates a web application manifest with the document. The manifest supplies install-related metadata; this link alone does not make a site installable or offline-capable. The example belongs in a document head; resource URLs are illustrative. Supply actual resources and server configuration to observe network behavior.
Formal Syntax & Structure
html syntaxhtml
<link rel="manifest" href="/manifest.webmanifest">Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| rel | space-separated relationship tokens | Include manifest on an element that supports this relationship. |
| href | URL or fragment | Identifies the linked destination or resource. |
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>Example</title> <link rel="manifest" href="/manifest.webmanifest"> </head> <body> <p>Example document</p> </body></html>