ボディ(idはoBody)に対し、<t:set>タグを使って 各種プロパティをボタンのクリックで2秒間だけ設定している。 bodrerだけは、あらかじめ<body>にstyle属性でborderの 指定をしておかないと正しく動作しなかった。
<t:set targetElement="oBody" attributeName="color" to="silver" begin="button2.click" dur="2" />
<t:set targetElement="oBody" attributeName="border" to="30 groove blue" begin="button3.click" dur="2" />
<t:set targetElement="oBody" attributeName="margin-left" to="100" begin="button4.click"dur="2" />
<t:set targetElement="oBody" attributeName="font-size" to="50" begin="button5.click"dur="2" />
<t:set targetElement="oBody" attributeName="text-decoration" to="underline" begin="button6.click"dur="2" />