<meta>

The <meta> element contains meta information about a document. Examples of meta information are directions indicating how long the browser should cache the document, keywords or descriptions for search engines, or details about the creator and version of a document.

The <meta> element is contained in the <head> element; it is not displayed.

Contents

Empty

Attributesattributes

values

(Default are bolded)

description
http-equivexpires

The meta-tag “expires” is used to suggest a time period for reload of the page to the client.

nameexpires

The meta-tag “expires” is used to suggest a time period for reload of the page to the client (can be used instead of "http-equiv" attribute).

content0..86400

Value means seconds between reloads, 0 means no automatic refresh.

Examples


Example:

<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "- //OMA//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Template</title>

<meta http-equiv="expires" content="3600" />

</head>

<body>

<!—- put the content here →

</body>


</html>


  • No labels