This page works in any JavaScript-enabled browser. If you're using Internet Explorer 4.0 or later, you'll see a digital clock ticking away above this text. If you're using any other browser, you'll see a static image and some text instead. The page decides for itself whether to execute the IE4-specific JavaScript code which displays and updates the clock, so you don't need to protect it behind a switching page (see previous example).
Since this script uses document.write to add the clock graphic, if you view the source in a a browser other than IE 4.x, you won't get the correct script. If you are viewing this page in another browser, click here to see the source.
Programming all your pages to be dual-format like this is a complex business, and probably not worth the effort - and anyway, pages authored from the ground up to make use of Dynamic HTML aren't likely to make much sense without the DHTML features. If you want to offer a lot of dual-format content on your site, then you're probably better off authoring two complete sets of pages and protecting the IE4-specific ones with a switching routine like the previous example.
However, this technique is a handy way to add the odd IE-specific tweak to your existing pages while still remaining compatible with other browsers.