<!DOCTYPE HTML>
<html>
<head>
<title>[Game Title]</title>
<meta charset="utf-8">
<script src="//cdn.jsdelivr.net/phaser-ce/2.7.8/phaser.min.js"></script>
<script type="text/javascript" src="game.js"></script>
</head>
<body>
<div id="game"></div>
</body>
</head>
The line:
<script src="//cdn.jsdelivr.net/phaser-ce/2.7.8/phaser.min.js"></script>
gets Phaser 2.7.8 ready to load your game.
NOTE
It is important to put files in the correct order. In JavaScript, code is executed from top to bottom; i.e. in the order it is encountered by the JavaScript interpreter (your browser).
Get the latest version of Phaser here.
The line:
<script type="text/javascript" src="game.js"></script>
gets your “game.js” file ready to play.
The line:
<div id="game"></div>
starts the game.