The meta element allows the page author to provide meta information about a web page. This information is usually used to control how the page is described by search engines, and therefore MCS adds it to the rendered output only if the web page is requested by a search engine.
The meta element allows the page author to provide meta information about a web page. This information is usually used to control how the page is described by search engines, and therefore MCS adds it to the rendered output only if the web page is requested by a search engine.
The table lists the properties that can be associated with a document.
Property name | Description |
---|---|
description | A textual description of the web page. |
keywords | A comma-separated list of keywords describing the web page. |
dc:creator | The author of the web page. This property is taken from the Dublin Core meta property set in the namespace http://purl.org/dc/elements/1.1/. |
These properties must have no about attribute.
The value of a property may be contained in the element body or in the content attribute.
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
xmlns:mcs="http://www.volantis.com/xmlns/2006/01/xdime/mcs"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>meta</title>
<meta property="dc:creator" content="John Smith"/>
<meta property="description">Description of the meta property</meta>
<meta property="keywords">alpha,beta,gamma delta</meta>
</head>
<body>
<h3> Hello! </h3>
</body>
</html>