public function addMeta($name = '', $content = '', $httpEquiv = '', $charset = '')
    {
        // Create meta element
        $meta = $this->getHTMLFactory()->buildMeta($name, $content, $httpEquiv, $charset);

        // Append meta to head
        $this->appendToHead($meta);

        // Return meta element
        return $meta;
    }
public function addMeta($name = '', $content = '', $httpEquiv = '', $charset = '')
    {
        // Create meta element
        $meta = $this->getHTMLFactory()->buildMeta($name, $content, $httpEquiv, $charset);

        // Append meta to head
        $this->appendToHead($meta);

        // Return meta element
        return $meta;
    }
public function addMeta ( $ name = '' , $ content = '' , $ httpEquiv = '' , $ charset = '' ) { // Create meta element $ meta = $ this -> getHTMLFactory ( ) -> buildMeta ( $ name , $ content , $ httpEquiv , $ charset ) ; // Append meta to head $ this -> appendToHead ( $ meta ) ; // Return meta element return $ meta ; }
Add a meta element to head.

@param string $name      The meta name attribute.
@param string $content   The meta content attribute.
@param string $httpEquiv The meta http-equiv attribute.
@param string $charset   The meta charset attribute.

@return HTMLElement
@throws InvalidArgumentException
Add a meta element to head .