The type attribute is the type of control created. Retrieve the type attribute of the 1st INPUT element and examine its value.