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