3 namespace dokuwiki\Form
;
8 * Creates an open HTML tag. You have to make sure you close it
9 * again or this will produce invalid HTML
11 * @package dokuwiki\Form
13 class TagOpenElement
extends ValueElement
17 * @param array $attributes
19 public function __construct($tag, $attributes = [])
21 parent
::__construct('tagopen', $tag, $attributes);
25 * The HTML representation of this element
29 public function toHTML()
31 return '<' . $this->val() . ' ' . buildAttributes($this->attrs()) . '>';