WML <meta> Tag


The <meta> element places an item of arbitrary meta-information in a WML deck. This item is structured as a property name and its value.

You can put any number of <meta> elements into the <head> element. This can add keywords for indexing purposes, store hints about the content of the deck, and store any other information.


The <meta> element supports the following attributes:

namestringGives the name of this property. Meta-information with this attribute is intended for server-side applications, so it may be removed before it gets to the browser. Could be "keywords", "author", etc.
http-equivstringAn alternative for the name attribute.
  • true

  • false

If present and set to true, indicates that the property is intended for the use of the browser.
contentstringShould specify a description of the name attribute
schemestringCan specify a format or structure that some properties may need to interpret their values. This attribute is used by few properties.
classclass dataSets a class name for the element.
idelement IDA unique ID for the element.


Following is the example showing usage of this element:

<?xml version="1.0"?>

   <meta name="keyword" content="WML"/>
   <meta http-equiv="Cache-control" content="no-cache"/>


<card id="one" title="First Card">
This is the first card in the deck

<card id="two" title="Second Card">
Ths is the second card in the deck