You are here: Reference > HTML > tags > blink

blink element

Browser support:
Specifies that the enclosed text should flash slowly.
Internet Explorer does not support this tag, if you want to make a cross-browser blinking text, use JavaScript. See Example 2.
If you want to see the HTML tags by categories, please visit this page.
This element requires a closing tag.
JavaScript page for this element: blink.

Possible members:

Attributes
Events
Styles
Pseudos
class
Sets the style class or classes that belong to the element.
contentEditable
3
Sets whether the contents of the object are editable.
dir
Sets the text direction as related to the lang attribute.
draggable
3.5
Sets whether an element is draggable.
id
Sets a unique identifier for the object.
lang
Specifies the language of the element.
name
Sets the name of an element.
style
Sets an inline style associated with an element.
tabIndex
Specifies the tabbing order for keyboard navigation using the TAB key.
title
Specifies a tooltip for an element.
unSelectable
Sets whether the selection process can start in an element's content.

Example HTML code 1:

This example illustrates the use of the blink element:
<blink>Hi there!</blink>
Did you find this example helpful? yes no

Example HTML code 2:

JavaScript solution for blinking:
<head>
    <script type="text/javascript">
        window.setInterval (BlinkIt, 500);
        var color = "#ffffff";
        function BlinkIt () {
            var blink = document.getElementById ("blink");
            color = (color == "#ffffff")? "#000000" : "#ffffff";
            blink.style.color = color;
        }
    </script>
</head>
<body>
    <span id="blink">Hi There!</span>
</body>
Did you find this example helpful? yes no
User Contributed Comments

Post Content

Post Content