Hi there - I am looking to make some text flash - how do I do this with HTML? Is it JAVA - or can you provide some basic code?
Thanks
internationally
Hi there - I am looking to make some text flash - how do I do this with HTML? Is it JAVA - or can you provide some basic code?
Thanks
internationally
This is done using the <blink>-tag, but I should warn you, it is deprecated and might not work in the newer browsers anymore.
The code below comes from my rusty brains in a dark and distant past, but I am fairly certain it is correct:
<blink>text to blink</blink>
You can also the CSS equivalent:
<span style="text-decoartion: blink;">blinking text</span>
I don’t know how well that is supported either.
Generally though it’s best to avoid blinking text - it’s a truly horrible effect that makes things impossible to read and almost always ends up looking really unpleasant.
Skunk’s code without a small typo :):
<span style="text-decoration: blink;">blinking text</span>
Ditto on what Skunk said though. Not wanting to generalise but most websites using the blinking text are regarded as ugly, amateuristic websites. My advice is to stay away from blinking text as well.
also, blinking text contravenes (is that the word i’m looking for ?) accessibility guidelines…
Originally posted by redux
also, blinking text contravenes (is that the word i’m looking for ?) accessibility guidelines…
You mean that the tag is deprecated?
no, i mean that whatever method you use (blink tag, CSS magic, javascript, whatever), having blinking text goes against accessibility guidelines (as i makes it more difficult for people with disabilities - i’m guessing partially sighted in this instance - to use the site).
see http://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-avoid-blinking for very superficial detail
sort of off topic…had to chuckle the other day when i came across a website that, on the splash page, had a warning that it was using strobe effects which might cause seizures in people with epilepsy (as they are required to do with shows/movies). if you have to go through the trouble of putting a health warning with your site…WHY THE HELL BOTHER with blinking/flashing effects ?
Blinking text also upsets kittens and makes small children cry.
Originally posted by redux
[B]no, i mean that whatever method you use (blink tag, CSS magic, javascript, whatever), having blinking text goes against accessibility guidelines (as i makes it more difficult for people with disabilities - i’m guessing partially sighted in this instance - to use the site).
see http://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-avoid-blinking for very superficial detail
sort of off topic…had to chuckle the other day when i came across a website that, on the splash page, had a warning that it was using strobe effects which might cause seizures in people with epilepsy (as they are required to do with shows/movies). if you have to go through the trouble of putting a health warning with your site…WHY THE HELL BOTHER with blinking/flashing effects ? [/B]
Aah, I see. I totally agree with that.
yes, there is a one-tag method for that, but also, there is a cross-browser method that uses javascript. i reccommend not using blinking, cause it makes my eyes hurt sometimes when i look at pages, especially those people that go crazy wit that stuff…AND MARQUEE TOO, MARQUEE IS NICE, BUT AFTER A FEW TOO MANY OF THEM, THEY DO GET UGLY…kinda like a too many ingredients kill the taste…
Originally posted by Skunk
Blinking text also upsets kittens and makes small children cry.
AND MARQUEE TOO, MARQUEE IS NICE, BUT AFTER A FEW TOO MANY OF THEM, THEY DO GET UGLY
Nope, it’s just plain ugly and pulls the eye from the rest of the page. AS DO CAPS
LIES!