What are the different ways in which we can use the link
tag ? Illustrate with an example. Is it possible to link a
file with another file on a different file server ? If yes,
how ?

Answer Posted / gayathri

<html>
<head>
<script language="javascript">
function sample()
{
window.open("test.htm",width='200,height=150,resizable=yes')
}
</script>
</head>
<body>
<a href="javascript:sample()">click Here </a>
</body>
</html>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove the event listener?

533


How will you explain closures in javascript? When are they used?

546


Is python better than javascript?

448


What is use of flutter?

501


How do I open javascript in chrome?

462






What do mean by NULL in Javascript?

522


Is javascript object oriented?

491


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

3614


How to toggle display an html element?

552


What is the use of the ‘this’ keyword?

611


How many data types are there in javascript?

501


Explain higher-order functions in javascript?

528


What is the data type of variables in javascript?

473


How can javascript codes be hidden from old browsers that don't support javascript?

503


Can javascript code be broken in different lines?

529