Here is a simple clock in HTML/Javascript:
<p>The time is <span id="clock">unknown<script language="javascript">
function clockTimeout()
{
var clockSpan = document.getElementById("clock");
var timeNode = document.createTextNode(new Date().toTimeString().substring(0, 8));
clockSpan.replaceChild(timeNode, clockSpan.firstChild);
window.setTimeout('clockTimeout()', 1000);
}
clockTimeout();
</script></span>.</p>