This blog post is the third in a series of blogs for those who would like to know a little more about what is going on behind the scenes and try some basic HTML coding for themselves. Once you learn the basics of coding, you will find that it opens up many possible options for your content formatting.
If you have not read the first post in this topic, you can find it here: Basic HTML Coding Options for WordPress
It is highly recommended that you start with the first post in the series if you are new to HTML coding.
Today we look at the coding needed to create a link.
If you have unique and helpful information don’t keep it to yourself as it is better to share. A link adds interest to your website, and it may be helpful to others.
Link tags are the type of tags that surround the content that you want to be linked. That content can be either text or an image. To make the link, you will need the URL address (i.e. http://www.artunlimitedusa.com) that you want the link to go to.
Here is an example of a link tag code in action:
<a href=”http://www.artunlimitedusa.com” target=”_blank”>This text will link to Art Unlimited’s Website</a>
Note the “href” attribute of the <a> tag. This tells the browser where to go when the link is clicked.
The attribute that says target=”_blank” tells the browser to open the link in a new window or tab. Use this when the link is going to a location that is not on your website.