open a new browser

Alles, was PHP betrifft, kann hier besprochen werden.

open a new browser

Postby safiVA » 09. March 2011 15:30

Hi,

I have this below code in html:
<font face="Verdana" size="2">&nbsp;&nbsp; </font><font face="Verdana" color="#000080" size="2">
<a href="http://www.google.com">
<font color="#"><img src="google.bmp" alt="" width="59" height="32" /></font></a>

when i click on google it does not open a new browser. it opens on existing browser. Can you please help me how i can open a new browser(in php or html) after click google.

Many thx.
safiVA
 
Posts: 8
Joined: 31. January 2011 02:34

Re: open a new browser

Postby Altrea » 09. March 2011 17:52

Please don't use <font>-Tags.
Thats really really old bad style.

use CSS instead
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: open a new browser

Postby connect0123 » 25. April 2011 13:37

The above given problem is not PHP. its HTML
connect0123
 
Posts: 1
Joined: 25. April 2011 13:31

Re: open a new browser

Postby johnwright456 » 31. May 2011 10:33

<html>
<head>
<script type="text/javascript">
function open_win()
{
window.open("http://www.w3schools.com");
}
</script>
</head>

<body>
<form>
<input type=button value="Open Window" onclick="open_win()">
</form>
</body>

</html>


try this code this code is in javascript.....
johnwright456
 
Posts: 3
Joined: 31. May 2011 10:28


Return to PHP

Who is online

Users browsing this forum: No registered users and 22 guests