June 17, 2020
June 17, 2020
When developing a website or theme, you might want to add a logo so people can quickly identify your site. But how to do so? Well, in this tutorial, we’ll show you the easy way to add an image or logo by using HTML.
Easily add images and logos with Hostinger’s Web Hosting! Get up to 90% off today!
To add an image or logo to your website, you need to modify the HTML or PHP file where you want the logo to appear.
Use an FTP client to connect to the webserver and edit your web files. Alternatively, you can also use the File Manager of your hosting control panel.
Our tutorial will show you how to add an image or logo to your WordPress site from Hostinger’s hPanel:
Make sure the image’s extension is recognized. The recommended formats for website logos are png, jpeg, or gif.
<IMG SRC="hostinger-logo.png" ALT="some text" WIDTH=600 HEIGHT=400>
Change the “hostinger-logo.png” defined by the IMG SRC with the name of the image you’re about to use. Then, edit “some text” dictated by ALT with a description of your image. Finally, specify the WIDTH and HEIGHT of your image.
The HTML syntax we provided also works for adding images to other CMS platforms. The steps are the same, but the directory names might differ.
Having a logo or image is beneficial for your website. Not only does it makes your site looks more attractive, but it can boost your branding as well. And thankfully, adding images with HTML is super easy! Simply upload an image in any extension, and then modify the template files of your currently used theme.
Now try it yourself! Good luck!
August 30 2017
Thank you! This helped me a lot :)
January 07 2019
Thanks, this really helped me.