<script type="text/javascript">
function blinking_header()
if (!document.getElementById('blink').style.color)
document.getElementById('blink').style.color="red"
if (document.getElementById('blink').style.color=="red")
document.getElementById('blink').style.color="black"
document.getElementById('blink').style.color="red"
timer=setTimeout("blinking_header()",100)
<body onload="blinking_header()" onunload="stoptimer()">
<h1 id="blink">闪动的标题</h1>