What was the intended purpose of the HTML <input type="button"> element, taking into account that Javascript appeared after HTML (hence making me doubt that JS was the intended purpose)?
What was the intended purpose of the HTML <input type=button> element, taking into account
Share
Not sure but, if I remember correctly,
<input type="button">has been added with HTML4.0. Its first draft was from 1997, so 2 years later ECMAScript. So probably is has been introduced exactly for JS purposes.Take a look to these links provided in comments by Felix Kling:
type=buttonlisted)