Hi, im very new to html and i have a website for which id like to include a 'return home' button. I already have a button image obtained through a free website. But i need the html to make this image into a link that will return the buyer to my home page when its clicked.. Can anyone help pls....?
An easy way of doing it. Go to Google gadgets and type in html / java script editor into the search box on the page. When you find the one you want add it to your home page. You can add images to it and insert a url . After you add an image run your mouse over the pic holding your mouse down. The link chain will then highlight. Click on it and add your url. Then click the save icon. You can then open the html icon and copy the code and put it were ever you like. Its a great little tool for developing.
If you've already read the tutorial on forms you already know most of this. For those of you who don't, note this: The first command (the FORM command) has three parts. Here's what each part means:
* FORM tells the computer a form item is going here.
* METHOD tells the computer how to handle the form command. In this case, you are making a link.
* ACTION denotes what connection you want to make. Here we made a connection to something called "page1.htm."
Note: When using these buttons, make links using the entire URL: http://www.etc.etc.etc.
The second command (the input command) places the button. It has two parts, and here's what they mean:
* INPUT TYPE tells what type of input will occur (duh!). In this case you want to "submit" something. You see, the FORM command above is looking for a link. Here you are "submitting" a link. Get it?
* VALUE is the wording that appears on the button.
Finally, end the whole thing with this:
</FORM>
It's simple and it looks nice.
Now if i change the wording n URL it works but it does not have my image for the button just the plain white style like the submit ones on here
Thank you if any one can help me!!!
structure detailed in this thread, but having couple of problems creating multiple (4) buttons
minor one that if I finish with </FORM>, buttons don't work (but do work if I omit)
The buttons display ok, but
Even tho' I change the ACTION= instruction to a different webpage, or to an external webpage, each button just goes to the destination in the first button.
because "LINK" is invalid. Second, you'll need separate <form>s for each button. If that's what you're doing, post all of your code so people can check it out.
All the code shown is well and good except for those using uppercase where you may be coding to XHTML. :P Your "Home" button should be part of the navigation menu placed on all HTML pages. No "form" tags need to be used for this. Take a look at these:
Nav Menus (See following sites for navigation menus):
The immediate problem is that you aren't using the closing </form> tag for your buttons and you're misplacing some other tags. Each one should look like:
Yes I agree you'd expect a </form> closing and I originally coded it that way
but when I put it in, it disables the button completely
(When you click on it, nothing happens)
when I take it out, back to same situation - all buttons go to one.html
Bookmarks