What is widget and why do we need it? Part 2

July 13, 2008 by Benjamin Perko  
Filed under blogging tips

In previous part of the widget series I told you something about widgets more generally speaking: where can you find widgets in dashboard, what are they good for and what a widget is.
If you did not see the first part you can follow the link here: Part 1

In this post you will learn how to add video and image to widget.

For images is almost the same. The difference is just in the code you add, which is something like this:

<img src=”link-to-your-picture.jpg”>

Text in the red is always the same, text in black is the URL of the image you want to add.

If you want that your picture is a link to other website it has to look like this:

<a href=”link-to-page”> <img src=”link-to-your-picture.jpg”> </a>

First link is the connection to the page you want your picture to follow when you click on it. The other link is the URL of the image.

Share/Save

Comments

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!