Posts Tagged: attributes

HTML5: old school vs. new school

HTML5: old school vs. new school

A time ago post a JavaScript snipet. It was simple snipet that provides a hint that describes the expected value of an input field. So, when text input get focus, the default value disappears and allows the user to write, but if the user doesn’t type anything, the default value returns to the input text when the input lose the focus. But the last week I was reading the book HTML5: Designing Rich Internet Applications, and I found some great new attributes.

Continue Reading