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 ?



What are the different ways in which we can use the link tag ? Illustrate with an example. Is it p..

Answer / 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

More JavaScript Interview Questions

What is trim whitespace google sheets?

0 Answers  


What is unobtrusive javascript?

0 Answers  


What is scope chain in javascript?

0 Answers  


How to set a html document's background color?

0 Answers  


how to create a moving div?

1 Answers  


What is the difference between client side javascript and server side javascript.

0 Answers  


In how many ways a Javascript code can be involved in an HTML file?

1 Answers  


Is function a data type in javascript?

0 Answers  


What are the difference between javascript and jquery?

0 Answers  


Explain what is pop()method in JavaScript?

0 Answers  


What are types of javascript?

0 Answers  


Is it possible to break javascript code into several lines?

0 Answers  


Categories