+ 1
How can i integre javascript with html5
i want to know how to add javascripte code to html5(for exemple flipClock)
2 Respostas
+ 6
<script src"source" type="text/javascript">//script</script>
+ 5
Embedded:
<script>
console.log("Thats JS");
</script>
Extern:
<script src="path"></script>
The attribute type and language are optional, because JS is the standard script by your browser.
The script can also be used for PHP. Let me show you:
<script language="php">
echo "Thats PHP";
</script>