Here you can find a number of examples on Java Script.Please find the various kinds of examples listed on the right side of this site. If you don't find anything on Java Script then please write to us or leave a commnet. We are pleased to help and find the solution of your problem.
Showing posts with label strike. Show all posts
Showing posts with label strike. Show all posts

JavaScript: Blink Function



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
Google