Blink element
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. [citation needed]
Despite the element being initially popular among personal homepages, it has since fallen out of favor due to its overuse and the difficulty it presents in reading. The tag achieved notoriety for being extremely user-unfriendly.[citation needed]
Lou Montulli is credited as the inventor of the blink tag at Netscape, although he claims he only suggested the idea, without writing any actual code.[1]
... 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.
Usage
The blink element is non-standard, and as such there is no authoritative specification of its syntax. 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.[2]
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.[3]
The blink element type was first invented for Netscape Navigator and is still supported in its descendants, such as Mozilla Firefox (except for the Netscape 6 and early Mozilla suite browsers). It is also supported by the Opera Internet Browser. Microsoft's Internet Explorer and Apple's Safari/WebKit do not support it, even in its CSS incarnation.
Implementation
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.[4] Similar effects can also be achieved through the use of JavaScript.The following example works in IE and Firefox. It does not work in Safari.Tests to be done for Google Chrome ...
<<<body onload="setInterval('blinkText()',400)">>>
<<<script type="text/javascript">>>
function blinkText() {
if (!document.all) return;
else {
for(i=0;i<document.all.tags('blink').length;i++)
{
s=document.all.tags('blink')[i];
s.style.visibility=(s.style.visibility=='visible') ?'hidden':'visible';
}
}
}
<<</script>>>
<<<blink>Text to blink here<<</blink>>>
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. Yet it has its defenders, especially among Ebay sellers who are victimized by buyers conveniently overlooking essential information. [5]
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.[6]
The German Federal Government's Barrierefreie Informationstechnik-Verordnung (Barrier-free Information Technology Ordinance) also states that flickering or blinking content should be avoided.[7]
The United States Federal Government's Section 508 states that pages should avoid causing the screen to flicker with a frequency between 2 Hz and 55 Hz, a range which covers rapidly blinking text.[8] This does not seem to apply to blink element itself, which blinks at frequency of 1 Hz.
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.[9] Mozilla Firefox satisfies this requirement by providing a hidden configuration option to disable blinking.[3]
See also
References
- ^ a b "The Origins of the <blink> Tag". www.montulli.org. Retrieved 23 October 2009.
- ^ Bos, Bert. "HTML40, but with BLINK added". World Wide Web Consortium. Retrieved 12 December 2006.
- ^ a b "VPAT for Firefox 3.0 and 3.5". Mozilla. Retrieved 23 October 2009.
- ^ "Cascading Style Sheets, level 1". Cascading Style Sheets Working Group, World Wide Web Consortium. Retrieved 23 October 2009.
- ^ "Original Top Ten Mistakes in Web Design (Alertbox)". Useit.com. Retrieved 23 October 2009.
- ^ Chisholm, Wendy; Vanderheiden, Gregg; Jacobs, Ian (5 May 1999). "Web Content Accessibility Guidelines 1.0". World Wide Web Consortium. Retrieved 20 July 2010.
- ^ "BITV — Einzelnorm". Bundesrecht.juris.de. Retrieved 23 October 2009.
- ^ Government Services Administration. "Section 508: Section 508 Standards". Section508.gov. Retrieved 23 October 2009.
- ^ "2. The user agent accessibility guidelines". W3.org. 17 December 2002. Retrieved 23 October 2009.
External links