Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html xmlns = "http://www.w3.org/1999/xhtml">
- <head>
- <title>XHTML Markup Methods of the String Object</title>
- <script type = "text/javascript">
- <!--
- var anchorText = "This is an anchor",
- blinkText = "This is blinking text",
- fixedText = "This is monospaced text",
- linkText = "Click here to go to anchorText",
- strikeText = "This is strike out text",
- subText = "subscript",
- supText = "superscript";
- document.writeln( anchorText.anchor( "top" ) );
- document.writeln( "<br />" + blinkText.blink() );
- document.writeln( "<br />" + fixedText.fixed() );
- document.writeln( "<br />" + strikeText.strike() );
- document.writeln(
- "<br />This is text with a " + subText.sub() );
- document.writeln(
- "<br />This is text with a " + supText.sup() );
- document.writeln(
- "<br />" + linkText.link( "#top" ) );
- // -->
- </script>
- </head><body></body>
- </html>
Advertisement
RAW Paste Data
Copied
Advertisement