The name property returns the name of the text box.This property is often accessed via the elements array of a Form object and used to return the name of the text area.