11.10_page0.html: Doing something once per second

This page will count up how many seconds you've been viewing it.

We mark up a portion of the page with a <span> tag and set the id attribute, to give that portion of the page a name.

Then we can change that portion of the page from inside the JavaScript code. This technique is called Dynamic HTML.

You've been viewing this page for 0 seconds.