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
File: 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.
Why don’t lists allow a list title child element? It makes perfect sense semantically, and it would save the extra wrapper <div> every time the designer needs to position a titled list. Valid HTML, with the title separated from the list element: <div class=”mylist”> <h2>List title</h2> <ul> <li>Proin convallis fermentum leo, at elementum enim dapibus [...]
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 [...]
It is over a decade since HTML4 was introduced, and XHTML5 has been in the works for years already. Opinions on HTML5 seem to be divided into two camps: developers who are waiting for it as a way overdue update, and the ones who will consider a change of careers if it becomes prevalent. One [...]