+ 20
Why blink tag is not run in the sololearn platforn and also in google chrome ?
HTML
2 Answers
+ 8
<!-- Even if <blink> element is non-standard and obsolete, you can easily reproduce it's effect using Css... -->
<span class="blink">blink</span>
<style>
.blink {
-webkit-animation:blink 1s ease-in-out infinite;
animation:blink 1s ease-in-out infinite;
}
@-webkit-keyframes blink {
from { opacity:1; }
50% { opacity:0; }
to { opacity:1; }
}
@keyframes blink {
from { opacity:1; }
50% { opacity:0; }
to { opacity:1; }
}
</style>
+ 7
The HTML Blink Element ( <blink> ) is a non-standard element causing the enclosed text to flash slowly. Do not use this element as it is obsolete and bad design practice. Blinking text is frowned upon by several accessibility standards and the CSS specification allows browsers to ignore the blinkvalue.