HTML Manifest Attribute

How the manifest attribute is used. This reference shows how to use application caches in HTML.

The HTML manifest attribute is applied to the opening tag of the HTML element.

The manifest attribute should contain a URL for a Manifest file. The manifest file is used to control which resources that should be cached by the browser.

Using the manifest attribute

An example of how to use the manifest attribute is shown below.

<!DOCTYPE html>
<html lang="en-US" manifest="/manifest.cache">

  <head>
    <title>How to use the manifest attribute</title>
    <style type="text/css">

    html, body {
     height: 100%;
    }
    </style>
  </head>

  <body>
    <h1>Application caches</h1>

    <p>Using application caches on your web applications.</p>
  </body>

</html>

See the Reference on the manifest file for more information.

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.