🚨 $100K in Sight: Follow Bitcoin’s Final Push Live! TRACK NOW

Code has been added to clipboard!

Making Text Blink: HTML blink Tag

Reading time 3 min
Published Aug 21, 2019
Updated Jan 21, 2020
  • The HTML blink tags used to make their content toggle its visibility on the screen (blink, or flash).
  • Not only it’s obsolete in all modern browsers, some never supported it at all. This tag was also never standardized by HTML.
  • You may recreate a similar visual effect using JavaScript.
  • Most Internet usage guidelines strongly advise not to use blinking text, as it can cause problems for disabled users.

To make text blink, HTML required you to surround it in <blink> tags:

Example
This element is <blink>deprecated</blink>.

As the tag took no parameters, there was no way to manipulate the blinking frequency: it depended on the browser.

DataCamp
Pros
  • Easy to use with a learn-by-doing approach
  • Offers quality content
  • Gamified in-browser coding experience
  • The price matches the quality
  • Suitable for learners ranging from beginner to advanced
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid Certificates of completion
edX
Pros
  • A wide range of learning programs
  • University-level courses
  • Easy to navigate
  • Verified certificates
  • Free learning track available
Main Features
  • University-level courses
  • Suitable for enterprises
  • Verified certificates of completion

As the HTML blink tag was never universally supported, the CSS text-decoration property was offered as an alternative option. However, according to the CSS specification, browsers may not necessarily blink the text it is applied to - and most of them actually don’t:

Example
<span style="text-decoration: blink;">Under construction</span>

If you really must make your text blink, HTML is not the way to go. You can use JavaScript - however, it won’t be as easy as using a single pair of tags:

Example
var blink_speed = 500;
var t = setInterval(function () {
  var ele = document.getElementById('blinker');
  ele.style.visibility = (ele.style.visibility == 'hidden' ? '' : 'hidden');
}, blink_speed);

It seems HTML blink tag was doomed from the beginning. In 1996, a web usability expert Jakob Nielsen published an article called Top 10 Mistakes in Web Design, in which he called <blink> ‘simply evil.’ Even the tag creator Lou Montulli has publicly declared the idea of blink in HTML was supposed to be merely a joke, and he hated its implementation.

One of the reasons HTML blink tag received so much hate was simply overuse. Constantly flashing pages made the user experience terrible. Not only reading such text proved to be difficult, but the page design looks tacky and hard to look at.

The other and probably more important reason was defined in the User Agent Accessibility Guidelines, introduced by Word Wide Web Consortium (W3C). It states you should always leave a possibility to change animated or blinking text to static. US Federal Government's Section 508 advises avoiding screen flickering with a 2-55 Hz frequency as well.

All these guidelines are created having people with disabilities in mind. Users with photosensitive epilepsy might experience seizures when viewing flashing content, and the ones with cognitive problems may suffer as well.

Browser support

Browser image
Chrome
-
Browser image
Edge
-
Browser image
Firefox
1+
Browser image
IE
-
Browser image
Opera
2+
Browser image
Safari
-

Mobile browser support

Browser image
Chrome
-
Browser image
Firefox
4+
Browser image
Opera
10.1+
Browser image
Safari
-