Computer Science, asked by srikanthchiku623, 1 year ago

What tag will make words FLASH on and off repeatedly?

Answers

Answered by angel77777
0
You can use the <blink> tag, but the best you can do is do this: <span id="blah">Some Text here</span> and put this code in a script tag: 
function go() {
if (document.getElementById("blah").style.visibility == "visible") {
document.getElementById("blah").style.visibility = "hidden";
}
else {
document.getElementById("blah").style.visibility = "visible";
}


window.onload = function() {var x = window.setInterval("go()", 200);}; 


Change blah to whatever you need it to be, and the document.getElementBy("blah") to the id attribute. change 200 to how fast it blinks in milliseconds


Similar questions