Archived posts, April 2012
The HTML5 placeholder attribute is not a substitute for the label element
The placeholder attribute is meant to give the user a nonessential hint before filling in a form field, not replace the label element.
End tags, semi-colons and maintainable code
Relying on browsers to magically insert missing code, like optional HTML tags or semi-colons and curly braces in JavaScript, is not developer-friendly.
Automatic line breaks in narrow columns with CSS 3 hyphens and word-wrap
As text columns become narrower, the risk of long words overflowing increases. Luckily you can use the hyphens and word-wrap CSS properties to prevent it.
- Previous month: March 2012
- Next month: May 2012
Subscribe / follow
Sponsors
Authentic Jobs
- Creative Web Designer at ADP / Autotegrity (Cambridge, MA, Ma, US)
- Social Media Summer Internship at PRI (Cranbury, NJ, Ne, US)
- Mobile Interface Architect at Chaotic Moon Studios (Austin, Texas, Te, US)
- Web Developer PHP/MySQL at eMeals (Atlanta, Ga, Acworth, GA, or Birmingham, AL, Ge, US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost

