The type read-only property of the HTMLTextAreaElement interface returns the string 'textarea'.
type
'textarea'
MDN Reference