String.strike() : String « Javascript Objects « JavaScript DHTML






String.strike()

  
<html>
<head>
<title>String formatting methods</title>
</head>
<body>
<script type="text/javascript">
var someString = new String("This is the test string");

document.writeln(someString.big());
document.writeln(someString.blink());
document.writeln(someString.sup());
document.writeln(someString.strike());
document.writeln(someString.bold());
document.writeln(someString.italics());
document.writeln(someString.small());

document.writeln(someString.link('http://www.java2s.com'));
</script>
</body>
</html>

   
    
  








Related examples in the same category

1.'String' Example
2.String.italics()
3.String.concat()
4.String.big()
5.String.blink()
6.String.sup();
7.String.bold()
8.String.small()
9.String.link()