Note: Read-only property. Returns the type of input element. Value: textarea. Syntax: document.getElementById("textareaID").type document.all.textareaID.type // IE only