top of page

Your Comprehensive Guide to Blink in HTML

Introduction to Blink in HTML

The HTML <blink> tag holds a nostalgic place in the history of web design. Introduced in the early days of the internet, it allowed developers to create blinking text, capturing attention and adding visual flair to web pages. However, as web standards evolved, the <blink> tag was deprecated due to its negative impact on user experience and accessibility. In this comprehensive guide, we'll explore the origins, usage, and modern alternatives to the <blink> tag in HTML.

Understanding the HTML <blink> Tag

HTML image

What is the <blink> Tag?

The <blink> tag is an HTML element that makes enclosed text blink or flash. It was introduced by Netscape Navigator in the mid-1990s but was never part of the official HTML specification. Despite its initial popularity, the tag quickly fell out of favor due to usability concerns.

Syntax of the <blink> Tag

The syntax for using the <blink> tag is simple:


<blink>Your blinking text here.</blink>

Any text placed between the opening <blink> and closing </blink> tags will blink at a set interval.

Example of the <blink> Tag in Use

Here’s a basic example of the <blink> tag:


<!DOCTYPE html>



    <title>Blink HTML Tag Example</title>



    <p>Welcome to our website! <blink>Check out our special offers.</blink></p>



In this example, the text "Check out our special offers" will blink.

The Evolution and Deprecation of the <blink> Tag

Why Was the <blink> Tag Deprecated?

The <blink> tag was deprecated for several reasons:

  1. User Experience: Blinking text can be distracting and annoying for users, leading to a poor browsing experience.

  2. Accessibility: Blinking text can cause problems for users with certain disabilities, such as photosensitive epilepsy.

  3. Standards Compliance: The <blink> tag was never standardized, leading to inconsistent behavior across different browsers.

Modern HTML5 does not support the <blink> tag, and its use is strongly discouraged in favor of more accessible and standard-compliant methods.

Modern Alternatives to the <blink> Tag

Although the <blink> tag is deprecated, there are modern alternatives to create blinking or flashing text using CSS and JavaScript. These methods provide better control and accessibility.

Using CSS for Blinking Text

CSS animations can create blinking effects in a more controlled and accessible manner.

Example Using CSS


<!DOCTYPE html>



    <title>Blinking Text with CSS</title>


        @keyframes blink {

            0% { opacity: 1; }

            50% { opacity: 0; }

            100% { opacity: 1; }


        .blink-text {

            animation: blink 1s infinite;





    <p>Welcome to our website! <span class="blink-text">Check out our special offers.</span></p>



In this example, the .blink-text class applies a CSS animation to make the text blink.

Using JavaScript for Blinking Text

JavaScript provides another method for creating blinking text, offering precise control over the blinking behavior.

Example Using JavaScript


<!DOCTYPE html>



    <title>Blinking Text with JavaScript</title>


        function startBlinking() {

            const blinkText = document.getElementById('blinkText');

            setInterval(function() {

       = ( === 'hidden') ? 'visible' : 'hidden';

            }, 500); // Blinking interval set to 500 milliseconds




<body onload="startBlinking()">

    <p>Welcome to our website! <span id="blinkText">Check out our special offers.</span></p>



This example uses JavaScript to toggle the visibility of the text, creating a blinking effect.

Best Practices for Blinking Text

Accessibility Considerations

When implementing blinking text, it’s crucial to consider accessibility. Avoid excessive use of blinking effects, as they can be distracting and harmful to users with certain conditions. Always provide a way for users to disable or pause animations if necessary.

Using Blinking Text Sparingly

Blinking text should be used sparingly and only when necessary to draw attention to critical information. Overuse can lead to a cluttered and unprofessional appearance.

Conclusion: The Legacy of the <blink> Tag

The <blink> tag is a relic of the early days of the web, remembered for its simplicity and distinctive effect. However, its deprecation highlights the importance of evolving web standards and prioritizing user experience and accessibility. Modern web developers have more powerful and flexible tools at their disposal, such as CSS and JavaScript, to create dynamic and engaging web content.

Key Takeaways

  • Introduction to <blink> in HTML:

The <blink> tag, once popular for creating blinking text, has been deprecated due to usability and accessibility concerns.

  • Syntax and Usage:

Enclose text within <blink> tags to make it blink, but its use is discouraged in modern HTML5.

  • Evolution and Deprecation:

Deprecated due to distracting user experience, lack of standardization, and accessibility issues, the <blink> tag is no longer supported in modern browsers.

  • Modern Alternatives:

Use CSS animations or JavaScript to achieve blinking text effects more efficiently and with better accessibility.

  • Using CSS for Blinking Text:

CSS animations provide controlled blinking effects using @keyframes and animation properties.

  • Using JavaScript for Blinking Text:

JavaScript offers another method using setInterval to toggle visibility for creating blinking effects.

  • Best Practices:

Consider accessibility, avoid overuse, and provide user controls to manage animations effectively.

  • Conclusion:

The <blink> tag symbolizes early web design but highlights the shift towards modern, accessible web development practices.


What is the <blink> tag in HTML?

The <blink> tag is an HTML element that causes the enclosed text to blink or flash. It was introduced by Netscape Navigator but is now deprecated and not supported in modern browsers.

Why was the <blink> tag deprecated?

The <blink> tag was deprecated due to its negative impact on user experience and accessibility. Blinking text can be distracting and problematic for users with certain disabilities.

How can I create blinking text without using the <blink> tag?

You can create blinking text using CSS animations or JavaScript. These methods offer better control and are more accessible.

Is it a good practice to use blinking text on websites?

Blinking text should be used sparingly and only for critical information. Excessive use can be distracting and negatively impact the user experience.

Can I still use the <blink> tag in modern web development?

While you can technically use the <blink> tag in older browsers, it is strongly discouraged. Modern web development practices favor using CSS and JavaScript for similar effects.

Are there accessibility concerns with blinking text?

Yes, blinking text can be problematic for users with photosensitive epilepsy and other conditions. Always consider accessibility when implementing blinking effects and provide options to disable animations.

Article Sources


bottom of page