Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>HTML Test: marquee-start</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/obsolete.html#the-marquee-element">
<meta name="flags" content="interact">
<meta name="assert" content="Check the start operation of HTMLMarqueeElement interface">
<h2>Steps:</h2>
<ol>
<li>Click the 'Start' button to start the marquee element.</li>
</ol>
<h2>Expected result:</h2>
<ul>
<li>The text "Test Marquee" start to move when the 'Start' button is clicked.</li>
</ul>
<input type="button" id="start" value="Start" />
<marquee id="test">Test Marquee</marquee>
<script>
document.getElementById("test").stop();
document.getElementById("start").addEventListener("click", function(evt) {
document.getElementById("test").start();
}, false);
</script>