wnas

HTML5 safe usage 2

html5

Input elements

Input elements are interesting enough for a much longer and more extensive post than I have time for now, but here is one little tidbit I haven't read anywhere else. If you use an unsupported input type in a browser it falls back to text, what I didn't knew is that reading the type with JavaScript fails also Turns out, I was wrong, see here who to detect it.... CSS attribute selectors are fine, only no JavaScript detection. See for yourself below...

Go and compare it with different browsers, just to see which does what.

← Home