A function that creates an
element of that tag from the given properties.
Description
Build a creation function bound to one tag, so callers no longer have to pass the tag
themselves. Use it to add a shorthand builder for a tag this library does not already ship one for —
the result behaves like the built-in div and span.
generateTagFunction