Although flashing text is typically prohibited in many places, my client has requested it for a project. I need to create one line of text that flashes using HTML and JavaScript. The text should appear and disappear within seconds, repeating this cycle.
I am aware that the CSS property text-decoration:blink can achieve this effect, but unfortunately it only works in FireFox and Opera. I require the flashing text to be visible on all browsers including Firefox, Chrome, Safari, and IE. Despite my efforts, I have not been able to find a Javascript code that accomplishes this task.
If anyone knows how to make this work across all browsers, please share a working version of the code to flash the text properly.