You are here

public static property Elements::$html5 in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Elements.php \Masterminds\HTML5\Elements::html5

The HTML5 elements as defined in http://dev.w3.org/html5/markup/elements.html.

Type: array

File

vendor/masterminds/html5/src/HTML5/Elements.php, line 79

Class

Elements
This class provides general information about HTML5 elements, including syntactic and semantic issues. Parsers and serializers can use this class as a reference point for information about the rules of various HTML5 elements.

Namespace

Masterminds\HTML5

Code

public static $html5 = array(
  "a" => 1,
  "abbr" => 1,
  "address" => 89,
  // NORMAL | VOID_TAG | AUTOCLOSE_P | BLOCK_TAG
  "area" => 9,
  // NORMAL | VOID_TAG
  "article" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "aside" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "audio" => 65,
  // NORMAL | BLOCK_TAG
  "b" => 1,
  "base" => 9,
  // NORMAL | VOID_TAG
  "bdi" => 1,
  "bdo" => 1,
  "blockquote" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "body" => 1,
  "br" => 9,
  // NORMAL | VOID_TAG
  "button" => 1,
  "canvas" => 65,
  // NORMAL | BLOCK_TAG
  "caption" => 1,
  "cite" => 1,
  "code" => 1,
  "col" => 9,
  // NORMAL | VOID_TAG
  "colgroup" => 1,
  "command" => 9,
  // NORMAL | VOID_TAG
  // "data" => 1, // This is highly experimental and only part of the whatwg spec (not w3c). See https://developer.mozilla.org/en-US/docs/HTML/Element/data
  "datalist" => 1,
  "dd" => 65,
  // NORMAL | BLOCK_TAG
  "del" => 1,
  "details" => 17,
  // NORMAL | AUTOCLOSE_P,
  "dfn" => 1,
  "dialog" => 17,
  // NORMAL | AUTOCLOSE_P,
  "div" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "dl" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "dt" => 1,
  "em" => 1,
  "embed" => 9,
  // NORMAL | VOID_TAG
  "fieldset" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "figcaption" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "figure" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "footer" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "form" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "h1" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "h2" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "h3" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "h4" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "h5" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "h6" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "head" => 1,
  "header" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "hgroup" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "hr" => 73,
  // NORMAL | VOID_TAG
  "html" => 1,
  "i" => 1,
  "iframe" => 3,
  // NORMAL | TEXT_RAW
  "img" => 9,
  // NORMAL | VOID_TAG
  "input" => 9,
  // NORMAL | VOID_TAG
  "kbd" => 1,
  "ins" => 1,
  "keygen" => 9,
  // NORMAL | VOID_TAG
  "label" => 1,
  "legend" => 1,
  "li" => 1,
  "link" => 9,
  // NORMAL | VOID_TAG
  "map" => 1,
  "mark" => 1,
  "menu" => 17,
  // NORMAL | AUTOCLOSE_P,
  "meta" => 9,
  // NORMAL | VOID_TAG
  "meter" => 1,
  "nav" => 17,
  // NORMAL | AUTOCLOSE_P,
  "noscript" => 67,
  // NORMAL | TEXT_RAW | BLOCK_TAG
  "object" => 1,
  "ol" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "optgroup" => 1,
  "option" => 1,
  "output" => 65,
  // NORMAL | BLOCK_TAG
  "p" => 209,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG | BLOCK_ONLY_INLINE
  "param" => 9,
  // NORMAL | VOID_TAG
  "pre" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "progress" => 1,
  "q" => 1,
  "rp" => 1,
  "rt" => 1,
  "ruby" => 1,
  "s" => 1,
  "samp" => 1,
  "script" => 3,
  // NORMAL | TEXT_RAW
  "section" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "select" => 1,
  "small" => 1,
  "source" => 9,
  // NORMAL | VOID_TAG
  "span" => 1,
  "strong" => 1,
  "style" => 3,
  // NORMAL | TEXT_RAW
  "sub" => 1,
  "summary" => 17,
  // NORMAL | AUTOCLOSE_P,
  "sup" => 1,
  "table" => 65,
  // NORMAL | BLOCK_TAG
  "tbody" => 1,
  "td" => 1,
  "textarea" => 5,
  // NORMAL | TEXT_RCDATA
  "tfoot" => 65,
  // NORMAL | BLOCK_TAG
  "th" => 1,
  "thead" => 1,
  "time" => 1,
  "title" => 5,
  // NORMAL | TEXT_RCDATA
  "tr" => 1,
  "track" => 9,
  // NORMAL | VOID_TAG
  "u" => 1,
  "ul" => 81,
  // NORMAL | AUTOCLOSE_P | BLOCK_TAG
  "var" => 1,
  "video" => 65,
  // NORMAL | BLOCK_TAG
  "wbr" => 9,
  // NORMAL | VOID_TAG
  // Legacy?
  'basefont' => 8,
  // VOID_TAG
  'bgsound' => 8,
  // VOID_TAG
  'noframes' => 2,
  // RAW_TEXT
  'frame' => 9,
  // NORMAL | VOID_TAG
  'frameset' => 1,
  'center' => 16,
  'dir' => 16,
  'listing' => 16,
  // AUTOCLOSE_P
  'plaintext' => 48,
  // AUTOCLOSE_P | TEXT_PLAINTEXT
  'applet' => 0,
  'marquee' => 0,
  'isindex' => 8,
  // VOID_TAG
  'xmp' => 20,
  // AUTOCLOSE_P | VOID_TAG | RAW_TEXT
  'noembed' => 2,
);