Create an HTML tag by name, content and array of attributes.
html:tag(STRING $name, STRING $content="", ARRAY $attributes=[ ], ARRAY $default_attributes=[ ], $self_closing=FALSE) : STRING
html:tag('p','hello world',['id'=>'foo','class'=>'blue'])
#=> "<p id=\"foo\" class=\"blue\">hello world</p>"
html:tag('h1')
#=> "<h1></h1>"
html:tag('input','ignored content',[],[], true)
#=> "<input />"
Copyright ©2013-2022 SunSed®. All rights reserved.