Using HTML Tags to Add Images to Your Web Page
Now suppose you wanted to add an image to your webpage. And let’s assume the image was already located in the folder of your website where images are stored. In order to make the image appear in your NEW web page, you need:
1. the complete web address of your website (such as http://www.wordfeeder.com),
2. the folder (or subdirectory) on your server where images are kept, and
3. the file name of the image (ends in .jpg).
The HTML code used to “pick up” an image from a source is IMG SRC. As always, it belongs inside those handy bracket-things. So your tag would begin:
< IMG SRC=
Without typing any spaces before or after the = (equals) sign, you’d then paste the URL of where the image is located (as explained in examples 1, 2 and 3 above), and follow with the filename and .jpg ending. I’ll illustrate this with an example from my own web collection of images:
< IMG SRC=”http://www.wordfeeder.com/sitebuildercontent/sitebuilderpictures/wordfeederlogox.jpg” >
By typing that HTML tag with the specific web address and folder information/filename within quotation marks, the computer knows the origin of the image, and will then “hyperlink it” into your web page.
If you’re ever unsure of the filepath of an image you need, go to the webpage where it’s located and then right-click the image. Under “properties”, you’ll find the complete URL path that must be typed in between the two quotation marks that fall inside your Image Source tag.
Note: you do not need to “shut off” an image tag.
You can also include multiple variables within a single image tag. For example, if you wanted to left-align the above image, you’d edit the above tag to look like this:
< IMG SRC=”http://www.wordfeeder.com/sitebuildercontent/sitebuilderpictures/wordfeederlogox.jpg” ALIGN=left >
Hyperlink Tags for Email and Website Addresses
Ever wonder how webmasters create live links? A live link might say something like, “Click here for more info!” and then when you click there, you’re suddenly transported to a new web page. A live link is simply type covering a website address. Check it out:
< A HREF=”http://wordfeeder.com” >Visit Wordfeeder for more info!< /A >
That’s HTML code for “hyperlinked text”. It looks weird, but think about it this way. The first part in that’s enclosed in these: < >, is what turns on the “make the following words into a link that leads to the address I am typing here” function. The end tag, < /A > is what “shuts off” the “hypertext linking” feature and will then let you resume typing in normal, unlinked text.
As you can see, by typing a few simple HTML tags, you can create some pretty amazing things. This article is just the tip of the iceberg. I hope that the explanations and examples shown have at least provided a basic understanding of HTML for you. A great way to learn is by “studying” other people’s web page code from the View>Source window. You practice by copying their HTML code into your own fake pages, and filling in the “meat” between their “on” and “off” tags with text and images that suit your own purposes. But be careful. If you paste HTML incorrectly, you can totally wreck and corrupt your document.