make_with

make_with(elem_name, att_list)

Make a new HTMLElement instance

Parameters
Result

script : an HTMLElement instance

Example
use HTMLElement : script "HTMLElement"
tell HTMLElement's make_with("p", {{"id", "hello"}, {"align", "center"}})
push("great contents")
log as_html()
end tell
(*<p id="hello" align="center">great contents</p>*)