If you want to add additional HTML code in your image. The default text widget allows certain basic HTML, however it cannot work with innovative HTML or formatting. In this case, you should manually add an image to the sidebar of your blog.
First of all, you should upload the image to the website of your website.
Just go to media->Add new, and just upload image file
Once you upload an image, you should click or edit link aside your image
After that wordpress will navigate you to edit the media page. Here you will be able to see image file URL on right side of the screen.
Now, you should copy the URL, and paste it into a text editor like Notepad.
Next, you should go to Appearance->Widgets screen and drag-drop ‘Custom HTML’ widget in your sidebar where you want to display images. Add the following code in image text box area:
The img tag is used for displaying images, and it needs two attributes- First SRC to define the location of the image file, and second is alt that offers alternate text for the image. The final appearance of this img will be like this:
Apart from this, you can also add image sidebar of wordpress through plugin, or widget.
Know more Visit: http s://wordpresserror500.c om/http-image-upload-error-in-wordpress/
Example:In the example, the bold is the element. img is specified by the element, and then src="img.img" is a property of the element.
simply use the <img> tag... include the src attribute and link it to the images URL like so: <img src="http://www.whateverTheUrlIs.com"> you should also include the <alt> attribute to make your code perfect: <img src="........" alt=".....">
In HTML: <img src="path/to/image.jpg" alt="Desc. of the Image"> In XHTML: <img src="path/to/image.jpg" alt="Desc. of the Image" />
<img src="link for picture">
<img src="image Path">
Src is an attribute for an image tag used by the website to find the source of the image here's a visual <img src='this is the place you put the image's URL'>
is the tag name for an image element in a webpage. is the tag, with src="" specifying the source URL of the image. This can be a local URL ("myimage.jpg") or a global URL ("http://www.mysite.com/myimage.jpg"). You can also use a local site URL ("/myimage.jpg"), which refers to the root URL of your website.Basically the img is saying you are putting an image there and src is telling where the image is located.
<img src=""> in the parenthesis, put the URL of the picture you want.
<img src="img.jpg" />
<a><img src="http://media.ebaumsworld.com/picture/shives/spagett.gif"></a>
You can embed an image in HTML via IMAGE tag. It can be written as <img src="image-source"/>
<img src="malaysia.gif" />