Class PageMetaTag

Page meta tags are used in HTML documents to provide structured data about a web page. They are usually part of the head section. Common tags are for example robots, description or social tags like open graph (e.g. 'og').

Page meta tags can be obtained within:

and can be set at PageMetaData container object, which is always available in the pipeline dictionary and is used as transfer object to fill the head area with meaningful page meta tag elements.

PropertyDescription
ID: String (read-only)Returns the page meta tag ID.
content: String (read-only)Returns the page meta tag content.
name: Boolean (read-only)Returns true if the page meta tag type is name, false otherwise.
property: Boolean (read-only)Returns true if the page meta tag type is property, false otherwise.
title: Boolean (read-only)Returns true if the page meta tag type is title, false otherwise.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getContent()Returns the page meta tag content.
getID()Returns the page meta tag ID.
isName()Returns true if the page meta tag type is name, false otherwise.
isProperty()Returns true if the page meta tag type is property, false otherwise.
isTitle()Returns true if the page meta tag type is title, false otherwise.

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

ID: String (read-only)

Returns the page meta tag ID.


content: String (read-only)

Returns the page meta tag content.


name: Boolean (read-only)

Returns true if the page meta tag type is name, false otherwise.


property: Boolean (read-only)

Returns true if the page meta tag type is property, false otherwise.


title: Boolean (read-only)

Returns true if the page meta tag type is title, false otherwise.


getContent(): String

Returns the page meta tag content.

Returns:

  • page meta tag content

getID(): String

Returns the page meta tag ID.

Returns:

  • page meta tag ID

isName(): Boolean

Returns true if the page meta tag type is name, false otherwise.

Returns:

  • true if the page meta tag type is name, false otherwise

isProperty(): Boolean

Returns true if the page meta tag type is property, false otherwise.

Returns:

  • true if the page meta tag type is property, false otherwise

isTitle(): Boolean

Returns true if the page meta tag type is title, false otherwise.

Returns:

  • true if the page meta tag type is title, false otherwise