HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML onsubmit Attribute

HTML onsubmit Attribute



The onsubmit attribute fires when a form is submitted.


Used With:-


Elements Event
form onsubmit




Its syntax is:- < element onsubmit="your_script" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML