The type attribute specifies the type of button. Retrieve the type attribute and examine its value.