|This article needs additional citations for verification. (June 2011)|
The blink element is a non-standard presentational 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 and has some support in other web browsers, but support for the feature is absent from Internet Explorer.
Despite its initial popularity amongst home users in the 1990s, it has since fallen out of favor due to its overuse and the difficulty it presents in reading. The tag achieved notoriety for being user-unfriendly in the opinion of many designers. Lou Montulli, often credited as the inventor of the blink element, has said that he considers "the blink tag to be the worst thing I've ever done for the Internet", although he claims he only suggested the idea, without writing any actual code.
... At some point in the evening I mentioned that it was sad that Lynx was not going to be able to display many of the HTML extensions that we were proposing, I also pointed out that the only text style that Lynx could exploit given its environment was blinking text. We had a pretty good laugh at the thought of blinking text, and talked about blinking this and that and how absurd the whole thing would be. [...] Saturday morning rolled around and I headed into the office only to find what else but, blinking text. It was on the screen blinking in all its glory, and in the browser. How could this be, you might ask? It turns out that one of the engineers liked my idea so much that he left the bar sometime past midnight, returned to the office and implemented the blink tag overnight. He was still there in the morning and quite proud of it.
The blink element is non-standard, and as such there is no authoritative specification of its syntax or semantics. While Bert Bos of the World Wide Web Consortium has produced a Document Type Definition that includes syntax for the blink element (defining it as a phrase element on a par with elements for emphasis and citations), the comments in the DTD explain that it is intended as a joke.
Syntax of the blink element type is identical to such standard HTML inline elements as span. For example:
<blink>This text could blink</blink>. The rate of blinking is browser-specific. In Mozilla Firefox the text alternates between being visible for three quarters of a second and being invisible for one quarter of a second.
The blink element type was first invented for Netscape Navigator and was supported in its descendants, such as Mozilla Firefox (except for the Netscape 6 and early Mozilla suite browsers); it has been removed in version 23. It was also supported by the Opera Internet Browser, but removed in version 15. Microsoft's Internet Explorer and Apple's Safari/WebKit do not support it, even in its CSS incarnation.
The blink value of the CSS text-decoration property allows authors to suggest that text should blink without using proprietary tags, but the CSS 2.1 Specification states that "conforming user agents may simply not blink the text" in order to comply with the User Agent Accessibility Guidelines.
<span style="text-decoration: blink;">Text to blink here</span>
Or alternatively, the blink functionality can be implemented simply by adding one line of source code with the help of jQuery. This will work on most browsers.
Usability and accessibility
The blink element has been consistently criticised by usability and accessibility experts. In 1996 Jakob Nielsen described the element as "simply evil" in his Alertbox column Top Ten Mistakes in Web Design.
The World Wide Web Consortium's Web Content Accessibility Guidelines (WCAG) 1.0 state that content authors should avoid causing the screen to flicker or blink, noting that such effects can cause problems for people with cognitive disabilities or photosensitive epilepsy.
To comply with the User Agent Accessibility Guidelines a user agent must either "allow configuration to render animated or blinking text content as motionless, unblinking text" or never blink text. Mozilla Firefox satisfied this requirement by providing a hidden configuration option to disable blinking, browser.blink_allowed, which could be accessed through about:config. The blinking feature has been disabled altogether since version 23.
- "The Origins of the <blink> Tag". www.montulli.org. Retrieved 2009-10-23.
- Bos, Bert. "HTML40, but with BLINK added". World Wide Web Consortium. Retrieved 2006-12-12.
- "VPAT for Firefox 3.0 and 3.5". Mozilla. Retrieved 2009-10-23.
- "Firefox 23 Release Notes". 2013-08-06. Retrieved 2013-08-08.
- <blink> - HTML | MDN
- "Cascading Style Sheets, level 1". Cascading Style Sheets Working Group, World Wide Web Consortium. Retrieved 2009-10-23.
- "Original Top Ten Mistakes in Web Design (Alertbox)". Useit.com. Retrieved 2009-10-23.
- Chisholm, Wendy; Vanderheiden, Gregg; Jacobs, Ian (5 May 1999). "Web Content Accessibility Guidelines 1.0". World Wide Web Consortium. Retrieved 20 July 2010.
- Government Services Administration. "Section 508: Section 508 Standards". Section508.gov. Retrieved 2009-10-23.
- "BITV — Einzelnorm". gesetze-im-internet.de. 2011-09-12. Retrieved 2014-03-03.
- "2. The user agent accessibility guidelines". W3.org. 2002-12-17. Retrieved 2009-10-23.