input()
Generate an <input> or <textarea>
Params:
-
id {string}Must be unique on the page, and match label
id -
type {string} = text -
required {boolean} = false -
name {string | none} = noneThe
idis used when no name is given -
attrs {object} = {}