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

Program to return the address family of a socket

826


How to have the status line update when the mouse goes over a link (the support of the status line is sporadic)?

474


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

1837


What is difference between var x =1; and x=1;?

675


How to get an element by class in javascript ?

531






What are the Advantages and Disadvantages of JavaScript?

521


What is encodeuri() function?

545


How to make elements invisible?

586


What is null in js?

493


What does dynamic component in javascript contain?

507


Explain the difference between call() and apply()?

506


What is javascript hoisting?

535


What do you understand by this keyword in javascript?

475


List some data types supported by javascript?

529


What is the use of javascript?

514