Page tree
Skip to end of metadata
Go to start of metadata

This element provides the information which is to be stored as attributes within the <META> tag(s) between the <HEAD> tags of the EditLive! document. The value which appears within the <meta> element will appear within the actual EditLive! document between the <HEAD> tags in a <META> tag.

Configuration Element Tree Structure

<editLive>
<document>
<html>
<head>
<meta>

<editLive>
     <document>
         <html>
             <head>
                 ...
                 <meta ... />
                 ...
             </head>
             ...
         </html>
     </document>
     ...
</editLive>

Required Attributes

content

This attribute specifies the value for the content attribute of the <META> tag to be used between the <HEAD> tags within the actual EditLive! document.

Optional Attributes

http-equiv

This attribute specifies the value for the http-equiv attribute of the <META> tag to be used between the <HEAD> tags within the actual EditLive! document.

name

This attribute specifies the value for the name attribute of the <META> tag to be used between the <HEAD> tags within the actual EditLive! document.

Example

The following example demonstrates how to specify two different <META> tags for use within EditLive! documents.

<editLive>
    <document>
        <html>
            <head>
                ...
                <meta content="text/html; charset=UTF-8"
                   http-equiv="Content-Type" name="contentType" />
                <meta name="Author" content="John Doe" />
                ...
            </head>
            ...
        </html>
    </document>
    ...
</editLive> 

Remarks

The <meta> element is most often used to specify the character set to be used within EditLive!. This is done by using a <meta> element which specifies a charset such as the following example which specifies the UTF-8 character set:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

The <meta> element can appear only once within the <head> element.

The <meta> element must be a complete tag; it cannot contain a tag body. Therefore, the tag must be closed in the same line. See the example below:

<meta content=... />
  • No labels