Introduction

The very first thing I learned as a programmer is that it seems to be interesting and fun to play with. It's like a Cherry for every program. It makes every application a beautiful portrait, it's like making a bride. :) But jokes apart, HTML (HyperText Markup Language) is a markup language that is used to create web pages as suggested by the Wiki. :) And now getting to our topic Formidable Forms.
Let's not mess up the article and instead focus only on the topics specified and get through them in detail.
About the Demo
In the demo, I have used Microsoft Web Matrix 3.0. Web Matrix is open source, lightweight and easy to use.
You can download it from <a href="http://www.microsoft.com/web/webmatrix/">Web Matrix</a>. This gives the intellisence.
It is for the users that are also cloud-connected, in other words, we can deploy the websites created on the cloud-like Microsoft Azure.
Background
Gone are those days of standing in queues and filling in forms, maybe for exams, posting mails, banks, hospitals almost everywhere, we used to fill in forms, specific paper forms. Now technology has superseded the old forms with the one-click events. With the HTML tags and the helpers, it's a cake making show. Visit the respective websites you want to sign in or sign up for, fill in the forms and yes you are done. Saving time that has now become a crucial part of life.
It's now true that these forms are one of the necessary parts of any website you visit. Let's delve deeper and explore what they exactly are.
Let's Start
Let's first understand what HTML4 was and then talk about its successor HTML5. HTML4 has a set of form fields that you can use. There are:
Most of these form fields use the input element, but some form fields have their own elements. HTML4 can contain form elements like text fields, word fields, radio buttons, checkboxes and submit buttons.
The elements frame, frameset, and noframes are being removed from the language, as well as an acronym, applet, basefont, big, blink, center, dir, font, isindex, strike, tt and u. All of these can be handled using CSS or other methods. As we know every successor inherits from its predecessor, similarly HTML5 has it's properties similar to HTML4 and is very enhanced too.

HTML 5 Input Types

Every HTML element for form creation has input types. We have all encountered them, right? Something like "input type". Yes, we have.
Quote
  1. <input type="text">
  2. <textarea></textarea>
  3. <input type="checkbox">
  4. <input type="radio">
This are some examples regarding the input types. These are vital elements for HTML forms. And yes we all know what these are and how they perform. And we will learn more from the demo code.
We use other attributes to be used for CSS and JavaScripts. They are:
These are some of the attributes used during data entry.

HTML 5 Form Elements

Apart from the elements provided by HTML4, HTML5 has the following additional elements:
Let's see one by one how to implement that in our applications:

HTML Form Attributes

HTML 5 has new attributes in its bag. The attributes added make coding much easier. Some of them are:
Some new attributes for input elements are:
  1. First name:<input type="text" name="fname" autocomplete="On">
  2. Last name: <input type="text" name="lname" autocomplete="On">
  1. <form action="demo_form.asp" novalidate>
  2. E-mail: <input type="email" name="user_email">
  3. <input type="submit">
  4. </form>
We start using the elements, the attributes and make our form. In the demo I have used the input types: text, radio, checkbox, file and buttons. Uploading files and selecting from multiple options. <html>
The following are the elements and how they look when used:
Using the code
Formidable Form With HTML5 Putting Together what we discussed.
The following is what we will show:
Formidable
Points of Interest
Now we are done. But one more thing is that we need to render the CSS stylesheets and JavaScript scripts if used right!
  1. <link rel="stylesheet" type="text/css" href="form.css">
And yes in the head section. It's a better practice to keep your CSS at the top and the JavaScript scripts at the bottom of the HTML page.
History
I have written 1 article previously. This is my first contribution to the competition. Not too complicated, easy for beginners to learn, short and handy.