Sponsors

Web Designer? Design and market your own professional website with easy-to-use tools.

Compare, review and buy thousands of Laptops , software products at CheckCost.co.uk

Your Text Link Here! and your text description here!

Javascript string anchor() method

The string object of javascript allows you to manipulate a stored piece of text.

The anchor() method Creates and adds a named anchor to a string object.

The javascript code creates a named anchor and adds it to a string.

<script type="text/javascript" language="javascript">

var txt="Hello world!";
document.write(txt.anchor("newanchor"));

</script>

The javascript code creates a named anchor and adds it to the string below.

Free Website Hosting

WebDevelopmentTutorials.com