TẠO NÚT START- STOP TRONG
animateMotion.
<svg xmlns
="http//www.w3.org/2000/svg"
Xmlns:xlink =
"http//www.w3.org/1999/xlink"
Width = "100%" height= "100%">
<g>
<text x="105"
y="250" font-size="45"
font-weight="bold" font-family="arial"
stroke="blue">Dưới trăng quyên đã gọi hè.
</text>
<text x="50"
y="300" font-size="25"
font-weight="bold" font-family="arial"
stroke="red"> ĐẦU TƯỜNG LỮA LƯỤ LẬP LOÈ
ĐƠM BÔNG.</text>
<animateMotion begin="B.click"
end="S.click" dur="4" from="100,90" to="400,90"
repeatCount="indefinite"/>
</g>
<g id="B"> // nút start
<text x="20"
y="120"fill="blue">START</text>
</g>
<g id="S"> // nút stop
<text x="100"
y="120" fill="red">STOP</text>
</g>
</svg>