JavaScript starten
JavaScript code wordt rechtstreeks op de HTML
pagina geschreven binnen de script tag.
Deze tag kan overal op de pagina worden
geplaatst. Zie het voorbeeld:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dit is de paginatitel</title>
<script>
hier schrijven we JavaScript code
</script>
</head>
<body>
Dit is de hoofdinhoud van de pagina.
</body>
</html>