A new placeholder attribute can be specified on the input and textarea elements. It represents a hint intended to aid the user with data entry. <input type=email placeholder="a@b.com"> gonagpur.com
Like a value but onClick it disappears and if no edit takes place repopulates the box when clicked out, saves using the javascript method
Really, isn't HTML5 just Grand......!!! In general HTML5 just puts a smile on my face and makes feel all warm and fuzzy inside..... Cheers!~
I prefer not using HTML 5 for now. I'll wait until they decide it is supported by the most of the browsers.
Browser support comes first. THEN the standard. Everything you see in the HTML5 spec existed in at least one browser before it wound up in the spec. Standards bodies rarely invent anything.