Placeholder in HTML5

I just came across this super cool HTML5 feature.

How many times did you coded a filler text within an input text field with javascript?

I love HTML5

Now with HTML5 we can create that placeholder in less than a blink of an eye.

Add the attribute and you're ready to go πŸ˜‰

Supported Browers

Google Chrome and Safari.

Full HTML5 Example

Form Name

First Input:

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.