© Mark J. Collins 2017

Mark J.  Collins, Pro HTML5 with CSS, JavaScript, and Multimedia, 10.1007/978-1-4842-2463-2_8

8. HTML Form Elements

Mark J. Collins

(1)Chesterfield, Virginia, USA

In traditional web applications, a form is a web page or a part of one that contains places for a user to enter information. Once the data has been entered, the form is then submitted to the server, along with the input data. This is processed by the server, and the new page is returned and rendered by the client.

In this chapter I’ll explain how to create forms in HTML5. I’ll also demonstrate the HTML elements that are typically associated with forms, such as the label, input, and button elements. Many of these elements can also be used in an HTML5 document without ...

Get Pro HTML5 with CSS, JavaScript, and Multimedia: Complete Website Development and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.