Another extremely handy feature introduced in HTML5, is the ability to more specifically define what kind of information is expected in an input, so that in turn, your handheld device can display the appropriate keyboard. In previous versions of HTML, you were restricted to the text input type for written information. However, you were not [...]
Content
Tagged: HTML5
One of the many improvements in HTML5, is the input placeholder attribute. Instead of using javascript to achieve this functionality, you can now specify the placeholder directly in the input tag. Whenever the input is empty and not in focus, the placeholder text will be displayed.
This is entry number one hundred on this blog, after I foolishly did this on the 2nd of February last year: “In a spur of the moment thing, I dropped my entire database & deleted every single file on my webserver.” Well, I now realise that was stupid: it would be fun to have that [...]