This example shows how to animate the width attribute of the element.
To view the source code, right-click this page and choose View Source from the shortcut menu that appears.