Monday, September 15, 2014

Here is a simple way to generate a web form which has default values loaded into the text fields without actually using a placeholder tag. A placeholder tag is only supported by few browsers. This form uses javascript to achieve the same functionality and works with all browsers having javascript enabled.

This is how the signup form behaves in action.

Demo

New user? Sign up below...

Given below is the code to create the above signup form, without using placeholder tag.

HTML


CSS


JavaScript


0 comments:

Post a Comment