meta
The meta tag is primarily used to list information (meta data)
about the current WML deck. This information can be anything you want
users to know about your site including author names, keywords, subject
matter, and topics of interest. Ideally, this meta data is used by the
various Internet search engines.
This tag presents the meta data as name/content paired values by using the
name and content attributes.
Since the meta data is contained inside the meta tag, it is not actually displayed by the deck.
The meta tag can also be used with the http-equiv attribute to simulate HTTP headers.
This tag can only be placed inside the head element.
You can have more than one meta element per deck.
This tag is self-closing.
Nested Tags: None
Attributes
class
The optional class core attribute is used to assign one or more classes to the element.
Multiple classes are separated by white space.
The class name is case sensitive (i.e., Stocks and stocks are not the same).
content
The optional content attribute is the content portion of the name/content value.
There are no defined values for this attribute.
You may choose any words or text you desire.
For example, you could choose "keyword" for the name attribute and then use
the content attribute to list keywords that you feel are important to your site.
forua
The optional forua attribute is a Boolean value that determines if the meta data
is sent to the browser.
If the meta tag is supported and this attribute is set to true, the meta data
must be sent to the browser.
If set to false, the meta data must not be sent.
http-equiv
The optional http-equiv attribute can be used in place of the name attribute to
create an http-equiv/content value pair to provide information used to generate an HTTP header.
id
The optional id core attribute is used to assign a unique name to a tag.
The name must be unique to the entire deck and not just unique to a card.
The first character of the name can be a letter or the underscore.
The remaining characters can be any combination of letters, numbers, or underscores.
name
The optional name attribute is the name portion of the name/content value.
There are no defined values for this attribute.
You may choose any word you desire.
For example, you could choose "keyword" for the name and then use
the content attribute to list keywords that you feel are important to your site.
scheme
The optional scheme attribute specifies a form or structure used to interpret the meta data.
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta name="keyword" content="wireless markup language" />
<meta name="author" content="The Guru" />
</head>
<card>
...
</card>
</wml>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information
|