Wednesday, May 21, 2008

HTML Button Tutorial

Photobucket

I created this HTML button without knowing how to write HTML code. When I first started researching how to make these buttons I could never find a good tutorial. All the tutorials out there just showed me how to make text chicklets. I wanted to use my own image. So I figured out a super easy way to make image html buttons. Here's the process.

*Disclaimer - I do not write HTML code. I am not an expert. I simply figured this out and wanted to share it with everyone.

The first thing you will need is a photobucket account, click here. It's free and easy to set up.

Why Photobucket? Photobucket provides a code for you that can easily be altered. Plus you will need a place to store your image.

Choose an image you want for a button. I recommend saving it in the jpeg format. Also, you will want your image to be the actual pixel size of how you want to view it. For example the button above is 100px by 100px. This button size works well because it fits on most blog sidebars.

After you upload your picture in photobucket, click on the image. In the bottom, right hand corner of your screen you should see this box.
Right Click on the code titled "HTML Code - Websites & Blogs" and click copy. Save the code somewhere you can alter it. I saved it in Word.

You will now have a code that looks like this.

"click on above image to see better"

Now replace the highlighted area with the web address you want your button to link to. Which I'm guessing would be your site's address.

NEW Next replace alt="Photobucket" with atl="Your site's name". Whatever words you replace with Photobucket will show in case the picture is not available for some reason. That's it, you have now created the html code for your button.

*One last thing, to display the code for people to see you'll need to drop it into a code box. This is very easy to do as well. Here's the link that gives you the code for the box. You might need to scroll down a little to see it.

If you have any questions feel free to leave a comment or email me. I'll do my best to answer any questions.

57 comments:

  1. Awesome tutorial! Very helpful indeed. :)

    ReplyDelete
  2. Thanks so much. I think I'll cut and paste this into a document so that I can refer to it later on. Does it have to be photobucket or can flickr work too?

    ReplyDelete
  3. Now, this is one of the best advise I've read, very2 interesting...just might try it.

    happy weekend :)

    ReplyDelete
  4. Sounds interesting ..will try it out!

    ReplyDelete
  5. oh great tutorial i have to learn this too!

    ReplyDelete
  6. AWESOME tutorial! Thanks,
    Christine Bean
    www.christinebean.com

    ReplyDelete
  7. Thanks! I actually understood that tutorial. I'm sooo computer illiterate.

    ReplyDelete
  8. Marcia, so glad to hear that the tutorial is easy to understand. Thanks for leaving a comment! They're always appreciated.

    ReplyDelete
  9. this is a great tutorial! i can't wait to try it...thanks for stopping by my blog!

    ReplyDelete
  10. That's a fantastic how~to, Kawaii!

    I'm going to be using this tonight. :D

    ReplyDelete
  11. That is so cool yup well look for some kind of imag for a button want to thank you so much for the tutorial on this awesome clear and going to make a button am so happy always wanted to do this!

    ReplyDelete
  12. BRILLIANT!!! Thankyou SO much for this! I am thrilled!!!

    ReplyDelete
  13. ngaire b,

    your welcome!

    let me know if you have any questions

    ReplyDelete
  14. This was FREAKING AWESOME!!! I've been wanting this for quite sometime & your tutorial made it SO easy! Thanks a million!

    ReplyDelete
  15. Fantastic...thank you so much!

    Robin
    http://www.creations-anew.com

    ReplyDelete
  16. I was wondering how to add the code box. :-) Thanks for sharing! :-)

    Farrah from...
    www.wifeandmomof3.net
    www.tbfreviews.wordpress.com

    ReplyDelete
  17. WOW, I'm a computer moron and you made that so easy even I could do it!! Thank you!

    ReplyDelete
  18. THANK YOU!!!! I recently asked another blogger how to make a button, and she told me, "It was a lot of work, and it required me to learn photo editing software. You can probably find a book at your local library."
    Riiiiight.
    So thank you for the simple instructions! You can view the button I made at http://jadeinmywindow.wordpress.com. It's the Health Nut button. :)

    ReplyDelete
  19. thanks for this one! i dont know html that much, so a simple guide is best for me...

    ReplyDelete
  20. This was beyond helpful! IT was easy to understand and I was able to make my own button in no time at all.

    Just wanted to thank you for doing these tutorials!

    ReplyDelete
  21. I can not thank you enough for this.I thought it was a big secret how this was done!!!! Really really cool of you to share!

    Sharing is GLAMOROUS. You are a lifetime member now!

    ReplyDelete
  22. Okay seriously. I just did it. And it worked.
    I am amazed!

    Thanks again. Really.

    ReplyDelete
  23. very helpful...for the code the link you gave isn't working in my blog so I searched for another..thank u very much! check out my new button...

    ReplyDelete
  24. Thank you for this information! It has been so helpful!

    Peace. Love. Light.

    ReplyDelete
  25. ohmygosh...thank u soooo much!! I have been trying to figure out how to do this for a while now. So glad to have found your post :D

    ReplyDelete
  26. Thanks for posting this! So helpful!

    ReplyDelete
  27. Wonderful tutorial!! Extremely Easy!! I had my button on my blog in 15mins. Thankyou!!!

    ReplyDelete
  28. Arigato Gozaimasu!!! thank you very much! can pls teach on the code box..

    ReplyDelete
  29. I made one with a text grab box. Thanks for the tutorial, I tried to write one as well. Check it out.

    ReplyDelete
  30. thanks! this totally worked! i linked to your blog!!!

    ReplyDelete
  31. I had been looking for a tutorial just like this one. Thanks.

    ReplyDelete
  32. I linked to you (it posts Monday). Thanks for the easy explanation!

    ReplyDelete
  33. Thank you for the info. It makes my quest easy. I already made a code before was being taught then by my friend but this time I have now my first badge with my first code of it. Thanks.. I just only change the row into 4 and the cols into 20. Thanks again. Cool tutorial. :-)

    ReplyDelete
  34. Hi! Thank you for this great tutorial!
    :)

    ReplyDelete
  35. This is awesome!!!!!! Thank you...how do I get text on my badge (over my picture)?

    ~Mandy

    ReplyDelete
  36. thank you thank you u saved my life haha :D

    ReplyDelete
  37. You are so awesome! I was able to post a button for my blog because of you. Thanks so much!

    ReplyDelete
  38. Great post! Very easy to do! Your instructions were awesome! Thank you!

    ReplyDelete
  39. Great, easy to follow tutorial. Ready to add to my site now.

    ReplyDelete
  40. Thanks so much, you made it easy to follow & i'm so chuffed I've made a blog badge!

    Jan x

    ReplyDelete
  41. Fantastic Tutorial!! Best out there! Thank you so much!!

    ReplyDelete
  42. WOW!!! Thank you so much for publishing this post! I now have a badge on my new{er} blog!!!

    Thank you, thank you, thank you!!!

    ReplyDelete
  43. I have to join the excited chorus of all these other folks! Thank you, thank you, thanks you. Without your amazing and easy post to follow I am sure my computer would have been in teeny tiny little pieces!

    ReplyDelete
  44. Thanks for posting this info. You made it so easy.

    ReplyDelete
  45. Hi! Thank you for your help. I been trying to google this for a week, I'm glad that i found your blog.

    ReplyDelete
  46. thank you for this great post, i made my badge in like 5 minutes! so so helpful

    ReplyDelete
  47. I used this and it worked. Did mine in Flickr. Thanks so much for sharing the knowledge!!

    Elizabeth

    ReplyDelete
  48. weeew!! can't wait to try this one out! thnx for sharing this! :D

    ReplyDelete
  49. Thanks for sharing this knowledge. Made my badge to help raise funds for charity.

    Great tutorial!

    ReplyDelete
  50. Thank you for your instructions for applying badges on to blogs. I have trying to do this for a while and in the last three days have found some helpful advice but yours is the best!

    ReplyDelete
  51. Hi there..I have a question. I would like to create a link from my badge to a map on google, could you share some advice please.

    Thanks once again for your HTML button tutorial!
    It worked a treat :)

    ReplyDelete
  52. hi there, i have a question about making a twitter badge.
    When i have copied the address from a/c at twitter and paste into where i want my link to go to. It shows a different link, i can see my a/c but doesnt take me there directly.
    Please help.

    ReplyDelete
  53. hi! it works for me too!!!
    thanks a lot.

    visit me @http://stylobooku.blogspot.com/

    ReplyDelete
  54. Oh my goodness- this is just absolutely fantastic! I've been trying to work out how to make a button for soooo long!

    ReplyDelete