Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why HTML5 focus so much on Javascript? [closed]

I am learning HTML5. I see almost everything is linked to JS. Why is it so much JS focused than HTML/XHTML?

like image 661
chhantyal Avatar asked Nov 14 '22 13:11

chhantyal


1 Answers

It's not per se. Javascript is just a very common thing in quality UI's these days. Designers and developers demand interaction on their interfaces that can in many cases only be accomplished via client-side interaction, which is what javascript gives you. Because HTML 5 is cutting edge, it's logical that quality UI guys with expertise in javascript would be flexing their muscle.

HTML5 is responding to many things such as video and tweening that used to require plugins like Flash and Javascript to accomplish. This will allow us to provide these "advanced" features more natively, improving usablity. You'll already see this in examples like YouTube's html5 video delivery, which is compatible with mobile browsers that don't support Flash.

like image 125
bpeterson76 Avatar answered Nov 16 '22 04:11

bpeterson76