Putting the Current Date into a Web Page
Working with Days
Customizing a Message for the Time of Day
Displaying Dates by Time Zone
Converting Military Time to A.M./P.M.
Creating a Countdown
Moving an Object in the Document
To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Moving an Object in the Document
This HTML for the object moving example uses IDs to tag the elements we want to manipulate.
This CSS sets the initial positions of each object on the page.
This JavaScript moves the object on the page.