Back to HtmlDocument class

Method isHtml5

public bool
isHtml5
()
Returns whether the document is set up to be output as HTML5
Returns
  • bool true when HTML5 is used
Since
  • 3.0.0
Class: HtmlDocument
Project: Joomla

Method isHtml5 - Source code

/**
 * Returns whether the document is set up to be output as HTML5
 *
 * @return  boolean true when HTML5 is used
 *
 * @since   3.0.0
 */
public function isHtml5()
{
    return $this->html5;
}