Please what is the relationship between HTML5 and JAVASCRIPT ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please what is the relationship between HTML5 and JAVASCRIPT ?

3rd Apr 2017, 10:33 PM
Susan Onukogu
Susan Onukogu - avatar
5 Answers
+ 7
HTML5 supports new API that works with Javascript... for example the Geolocation API ( https://www.w3schools.com/html/html5_geolocation.asp) or the WebStorage API (https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API) In general, with JS you can make dinamic website, you can create cool animation and more... HTML, CSS and JS work together for make the web a better place... maybe.
3rd Apr 2017, 11:17 PM
Maz
Maz - avatar
+ 4
Think that HTML, CSS and JS are like the human body. HTML - it is the bones. You will have all the structure for the website. CSS - it will give the skin and all its characteristics. It will give all the style for the website. Ok, you have the structure, you have the skin and the characteristics. What is left? the life. JS - it will allow you to create interactivity.
3rd Apr 2017, 11:47 PM
Felipe Silva
Felipe Silva - avatar
+ 2
Html5 stems from html which is a markup language Javascript is a scripting language I think
3rd Apr 2017, 11:43 PM
Augustus Otu
Augustus Otu - avatar
+ 2
@Onukogu it will be basically the same thing. HTML and HTML5 have only some differences. Now it is more semantic. The explanation is still the same for HTML 5. You will have the interactivity on JS hands.
3rd Apr 2017, 11:55 PM
Felipe Silva
Felipe Silva - avatar
+ 1
Quite explanatory @felipe. I was quite specific on HTML5 though not HTML.
3rd Apr 2017, 11:51 PM
Susan Onukogu
Susan Onukogu - avatar