How does HTML form function? and what I mean by that question is not what a form does (It sends the information of all the input elements to the server), but I mean “How does the form know what to do”? Isn’t HTML just a mark-up language, which means that it’s not for programming? Is there some code hidden somewhere?
I hope it was clear 😉
How does HTML form function? and what I mean by that question is not
Share
HTML is processed by the browser, and the browser has programming which “makes the form work”. All the form really does though (for most standard uses), is collect the user input and provide it as a POST request to the HTTP server.