3 ms·
I still don't understand why anybody would use those fancy new elements instead of divs. The only thing "gained" would be breaking the page in older browsers.
by Tichy 15y ago
I still don't understand why anybody would use those fancy new elements instead of divs. The only thing "gained" would be breaking the page in older browsers.
What excites me about "HTML5" (and I don't care what the official definition is) are extended capabilities of JavaScript like GeoLocation, Local Storage, Web Sockets and so on.
- aniketpant 15y agoThe reason for using the "fancy" new elements is quite clear! It makes the code more readable and easy to understand. And as for the part where we "might" break the page in old browsers. I would like to pose a questions. "Aren't we all working towards a developed future?"
- Jgrubb 15y agoThere are ways around breaking older browsers - https://www.google.com/search?q=html5shiv https://www.google.com/search?q=html5shiv However, I agree with your point(s).
- nikcub 15y agothe reason for the new elements isn't to benefit users reading the page, it is to benefit programs reading the page. the google bot, and many other crawlers, parsers etc. already make use of them.