Source Code:
Result:
First name:
Last name:
Your image:
Note:
The <form> accept attribute is not supported in any of the major browsers.
Edit the code above and click "Submit Code" to see the result.
W3Schools.com
- Try it yourself