<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><metaname="viewport"content="width=device-width, initial-scale=1.0"><title>文字闪烁特效</title></head><body><spanid="myDiv">奇葩天地网www.qipa250.com!</span><script>var flag =0;var int ='';functionstart(){var text = document.getElementById("myDiv");if(!flag){
text.style.color ="red";
text.style.background ="#0000ff";
flag =1;}else{
text.style.color ="";
text.style.background ="";
flag =0;}
int =setTimeout("start()",500);}start();setTimeout(function(){alert('停止了');
window.clearInterval(int);},3000);</script></body></html>