Saturday, May 30, 2015

Creating a Blog Button or HTML Button 101; Networking Saturday

Note: This tutorial post is a bit long so if you are looking for the linkup please Click Here To Jump To The Bottom, it looks like this...

I know most bloggers or armchair web designers learn how to create a basic button early on but because there are new people blogging every day I  thought I would post a basic how to on a button I use often.

This one very versatile and the code can be altered to create quite a diverse group that has many uses.
It is often used to create buttons on websites that lead you to another page, shop, FB page, basically anything online; essentially all it is is a fancy URL link.  Here's the URL I am going to create a button for today:
  1. Choose a small image you would like to use for your button
    1. Tip make sure that there is either enough room for your Call To Action or Title
    2. If you find a picture you like but it doesn't have enough room you can create box to put it in leaving you room for your wording (good example of that is my Networking Saturday image above)
  2. Once you have the image completed you will need to find a place to store it "online" so that it is actually on the web (note it is not the same as storing your pictures in the cloud that is data storage.)  Some simplest options are:
    1. Flickr- with this type of site you will need to make sure that your image is saved as open to the public otherwise it will not work.  To do this on Flickr go to privacy settings select visible to everyone and make it publicly searchable
      1. Once your image is upload they will give you some options and instruction on how to grab the code
      2. Perk of a Flickr account is that it is free, easy and gives you 1 terabyte of data (that's a whole lot of data for free)
    2. Right here on Blogger (far easiest)
      1. Create a page or post you will never publish
      2. Upload your image as normal
      3. Click the HTML tab so you can see your code
      4. Highlight the part that ends in a .JPG
        1. An example of what you are looking for:       
      5. Copy it and paste it somewhere handy like an open document in Notepad or word
      6. Instead of clicking "publish" click "save" then "Close" that is it
  3. For the link you want to have your button take your viewers to:
    1. Go to the published page, site, post whatever you plan to send people to
    2. Once it is open, highlight the URL (in the bar at the top of the page) 
      1. For today's example it is:
    3. Click copy and paste it also into the open document so you have it ready
  4. Copy the following code:
    1. <center><a href="YOUR SITE'S URL HERE"><img src="YOUR IMAGE'S CODE HERE" width="200" height="200"/></a></center>
  5. For blogger sidebars:
    1. Open the Layout section of your dashboard
    2. Click to Add a new widget and select the option to add an HTML
    3. Paste the code you just copied into that box (add a title if you want but it is not necessary)
    4. Highlight the colored areas and add your own information there
    5. Save and you are done!
  6. For other sites or to put it within your post
    1. Chose to work in the site or post as HTML (for blogger that is simply clicking the tab with that title)
    2. Paste the code where you would like to see it show up.  Tip: For me if there is a lot of data and it is hard pinpoint the spot I mark it while I am in the Compose tab by typing a series of ************ in the spot then it is easily recognisable while I am working with the HTML.  You will, of course, delete those once you are done building your button.
    3. Add your Data (the image JPG code and your site URL)
    4. Save your work and you are done! (See the example of my button and its code below)
<center><a href=""><img src="" width="200" height="200"/></a></center>


Rule Free Networking:

Post any of your family friendly sites including social media (blogs, shops, FB, etc.)  What ever sites you would like to share. (multiple sites are OK)  No obligation here.

Please help promote this post using your social network.  Here is an easy one:

No comments: