Source Code:
Enter your name, then move the cursor/tab outside the field:
Enter your name:
Result:
W3Schools.com
- Try it yourself