Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's The Difference HTML5 vs Javascript [closed]

I got asked a question that I really didn't know how to answer. "What's the difference between HTML5 and Javascript?" I mean we know HTML is a simple markup language but to get into the things that HTML5 does, such as the <canvas> tag for instance; don't you really NEED JavaScript to produce those canvas animations? Would you even be able to make an image slider without any JavaScript assistance? When it comes down to it wouldn't I be able to just use a JavaScript plugin vs HTML5 99% of the time?

like image 306
Howdy_McGee Avatar asked Oct 04 '11 15:10

Howdy_McGee


People also ask

Is HTML5 replacing JavaScript?

No. You still have to code fallbacks for browsers that don't support the HTML5 features you're using. The fallbacks will contain the same amount of Javascript code.

Should I use JavaScript or HTML?

HTML provides the actual content, whereas JavaScript provides an interface for the end-users to interact by generating dynamic content for the users. HTML is mainly used for providing static web content, whereas JavaScript provides a dynamic environment to handle the dynamic events on the web pages.

Does HTML5 need JavaScript?

HTML5 defines a new standard which browsers implement. Almost all of the features require Javascript unless you're using a simple tag that's part of HTML5.

What makes HTML5 different from HTML?

HTML5 is the latest version of HTML programming that allows better management of the web application or the website contents. While HTML doesn't allow support for Video and Audio data in the programming language, HTML5 allows any kind of data to be incorporated into the program.


1 Answers

Technically it HTML5 is a standard for the next generation of HTML. In reality it has become an all encompassing buzzword for javascript and every web technology developed since HTML4.

These are frequently refereed to as HTML5 technologies.

  • Javascript
  • HTML Canvas
  • WebGL
  • CSS3
  • Other CSS improvements such as flex boxes
  • Offline Storage
  • Geolocation
  • New events such as touch and orientation
  • Ajax
  • Websockets
like image 55
mikerobi Avatar answered Oct 04 '22 02:10

mikerobi