e01.org

Blink element

The blink element is a non-standard HTML element that indicates to a user agent (generally a web browser) that the page author intends the content of the element to blink (that is, alternate between being visible and invisible). The element was introduced in Netscape Navigator but is no longer supported and often ignored by modern Web browsers; some, such as Internet Explorer, never supported the element at all. Despite its initial popularity among home users in the 1990s, it fell out of favor due to its overuse and the difficulty it presents in reading. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

The blink element is a non-standard HTML element that indicates to a user agent (generally a web browser) that the page author intends the content of the element to blink (that is, alternate between being visible and invisible). The element was introduced in Netscape Navigator but is no longer supported and often ignored by modern Web browsers; some, such as Internet Explorer, never supported the element at all. Despite its initial popularity among home users in the 1990s, it fell out of favor due to its overuse and the difficulty it presents in reading. ==Origin== Lou Montulli, often credited as the inventor of the blink element, claims he only suggested the idea, without writing any actual code. Down to the porshrop, down to the streep This produces the following on the page — it is unlikely to actually blink due to modern browsers lacking support for the decoration: The blink element may also be implemented using CSS animations. @keyframes blink { 0% { opacity:1 } 75% { opacity:1 } 76% { opacity:0 } 100% { opacity:0 } } blink, .blink-css { animation:blink 0.75s ease-in infinite alternate; } When elements are then given the tag blink or class blink-css , such as: Down to the porshrop, to the porshrop family treep This produces the following: Similar effects can also be achieved through the use of JavaScript. (function() { var blinks = document.getElementsByTagName('blink'); var visibility = 'hidden'; window.setInterval(function() { for (var i = blinks.length - 1; i >= 0; i--) { blinks[i].style.visibility = visibility; } visibility = (visibility === 'visible') ? 'hidden' : 'visible'; }, 250); })(); Text to blink here Or alternatively, the blink functionality can be implemented with the help of jQuery. setInterval(function(){ $('blink').each(function() { $(this).toggle(); }); }, 250); Text to blink here

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Blink element". 1769920068. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1335968735

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·