blink:
Causes a string to blink as if it were in a BLINK tag.
Syntax:
blink()
Description:
Use the blink method with the write or writeln methods to format and display a string in a document. In server-side JavaScript, use the write function to display the string.
Example in HEAD section:
<html> <head> <title>Blink Function<.title> <script language="javascript"> var worldstring="Hello, World"; document.write(worldstring.blink()); document.write("<p>" + worldstring.bold()); document.write("<p>" + worldstring.italics()); document.write("<p>" + worldstring.strike()); </script> </head> </html> |
Example in HEAD section:
<html> <head> <title>Blink Function<.title> </head> <body> <script language="javascript"> var worldstring="Hello, World"; document.write(worldstring.blink()); document.write("<p>" + worldstring.bold()); document.write("<p>" + worldstring.italics()); document.write("<p>" + worldstring.strike()); </script> </body> </html> |
OUTPUT
Hello, World
Hello, World
Hello, World
Hello, World
No comments:
Post a Comment