<meta> Element

This element provides the information which is to be stored as attributes within the META tag(s) between the HEAD tags of the Ephox EditLive! for Java document.

The value which appears within the <meta> element will appear within the actual EditLive! for Java document between the HEAD tags in a META tag.

Element Tree Structure

<editLiveForJava>
    <document>
        <html>
            <head>
                <meta>

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

Required Attributes

Attribute Description
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! for Java document. 

Optional Attributes

Attribute Description
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! for Java 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! for Java document.

Example

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

<editLiveForJava>
    <document>
        <html>
            <head>
                <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
                <meta name="Author" content="John Doe" />
                ...
            </head>
            ...
        </html>
    </document>
    ...
</editLiveForJava>

Remarks

The <meta> element can appear multiple times 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=... />

See Also