In creating blog posts with Blogger, there are standardly three text boxes. The first is for your post Title, which needs no real explanation. The second is an optional field for a Link. The idea here is to put a URL, such as "http://www.google.com/
". Usually this is a page or site that sparked your blog post idea in the first place. The large box below this is for your post content. You can simply type your content into this box, or if you are inclined, you can add HTML code for images and links and so forth.
In a comment on a previous post, I was asked how to create links in the middle of your posts, rather than just for the title. For anyone who hasn't noticed yet, I do this a lot.
The following is a good draft of what I would write as a simple explanation of how to create links in HTML code. This may get updated later. I will also go through the steps to add links using the built-in Blogger tools.
Introduction
One of the very first and most important pieces of HTML code that a novice web developer will learn would have to be the <a />
tag. This is also known as the 'link' tag, although there is a <link />
tag used most commonly for linking style sheets or other secondary documents to the main document. These should not be confused.
However, as common as this tag is, it is not unusual to see instances where the web developer does not make proper use of the many available options. There are many advantages to improving the implementation from Accessibility to SEO.
How to Properly Create a Link
Links are created using the <a />
tag. The most common way that you see the code for the <a />
is as follows:
Please visit <a href="http://arconati.us/">Arconati Family Home Page</a> as soon as possible.
Admittedly, this has all of the important functional parts. You have the 'href' attribute between the quotes - the target of the link - and then the content of the <a />
tag, which is what the browser displays. Here is what it would look like.
Please visit Arconati Family Home Page as soon as possible.
Most incomplete references will tell you that this is the minimum. In truth, you can actually strip it down even more - Please visit <a>Arconati Family Home Page</a> as soon as possible.
This is minimal indeed. If you try and load this in a browser, it should actually behave stylistically as if it were a link, though if you click on it, it doesn't do anything.
Please visit Arconati Family Home Page as soon as possible.
Note: You may have noticed that although this link does not have an 'href=
' attribute, it does get rendered in some browsers as if it were a link. For instance, it might be underlined or a different color. Interestingly enough, the :hover
cursor behavior is activated in FireFox, but not in Internet Explorer.
There are a lot of other attributes you can optionally use besides just 'href=
'. There is a 'title=
' attribute that can be useful and should be used in all cases where activiely promoting the link. Here is an example:
Please visit <a href="http://arconati.us/" title="Arconati Family Home Page>Arconati.us</a> as soon as possible.
The advantage to this one is that you can be more descriptive in the title. Since search engines base the importance of a site on how many people link to it and what keywords the links use in addition to the page itself, this can be very helpful for sites that want to get found in the search engines. The above example would look like this:
Please visit Arconati.us as soon as possible.
If you hover over the link for a moment, your browser will most likely show a yellow box or tooltip type feature that shows you the 'title=
' information. This content may be rarely noticed by the average capable user, but it is very helpful for users with vision or other impairments as well as search engines.
Creating Links in Blogger
Creating a link in your blog posts in Blogger is very simple. First either open a previous post or create a new post. Then make sure you are in the "Edit HTML" tab. In the menu bar above your post box, you will see a small icon like the following - - Select the text you want to be the content of the link and then click this icon. A box should appear with a prompt to enter the URL of the link you want. Be sure to include the full link from - http://www.example.com/page.html - and click OK. You have just created a link. You can manually add a title if you would like and then publish your post.
Links are the whole point of the web and they are important, so be sure to link as often as possible.