Sure! Here's an example of a simple tower defense game in HTML, utilizing JavaScript for the game logic:
This HTML file represents a simple tower defense game where enemies move from right to left, and the player needs to click on the canvas to place towers that shoot projectiles at the enemies to defeat them. The game lasts for 10 seconds, and the player's score is displayed at the end.
Please note that this is a basic implementation to demonstrate the concept, and you can further enhance and customize it as per your requirements.