Re: Create Button/Hyperlink

B

Bob

There are two ways to create button links:

<p>
<button onclick="window.location='http://www.google.com/'" style="width:
180; height: 30">
Go to Google
</button></p>

<p>
<input type="button" value="Go to Google"
onClick="window.location='http://www.google.com/'"></p>

The <button> method allows widthxhieght specifications where the input
type="button" resizes according to the text.

-Bob
 
Joined
Sep 13, 2010
Messages
1
Reaction score
0
Hyperlink Button Creation

I have a website that has a gallery. I am trying to create a link to the gallery. My gallery is photocart but I do not know how to create a hyperlink button to access the gallery by clicking the button. Can somebody help me with the right html code?

Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top