How to use Javascript in HTML5

Inserting javascript into HTML5 can still be done by making use of script tags. Although theoretically using the type="tekst/javascript" attribute in HTML5 is no longer required, we would advise you to still implement this type in order to avoid possible old browser issues. Find below an example to evoke Javascript in HTML5.