I've just now realized that there is a input
attribute with type
equal to "image"
.
I saw this being used on some site (pretty old by the way) to submit a form.
I have the following questions:
- What is the purpose of this
input[type=image]
? - Is it just for submitting a form?
- This attribute should be avoided, or it can still be used quietly (are we in 2017 just for the date)?
Reference: MDN - Input Type Image