How do I insert a logo I've saved in my files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I insert a logo I've saved in my files?

I made a custom logo for a new site I'm making and I can't figure out how to insert it using the correct coding. Is there a way to link it to a file or is that just in Dreamweaver?

25th Feb 2020, 7:07 PM
Madison
Madison  - avatar
5 Answers
+ 2
Madison If you are using HTML to out the image on, I have a few ways to get the logo on the file. First, you could upload the logo to a website, then copy the link. I recommend https://postimages.org/ for uploading any photos you have for coding. It's what I've been using for the My Hero Academia character list. If you don't want to do that and you are not on Sololearn, you first need to make sure the logo and HTML file are in the same folder. Then, you put the image into the file using the image tag, like this: <img src="examplephoto.jpeg"> then do whatever height and width you need. You do need to put the actual photo name though. I hope this helps in some way! Also, I recommend using CSS to design your HTML webpage. I hope this helps! Have fun coding! ʕっ•ᴥ•ʔっ (◕ᴗ◕✿)
25th Feb 2020, 11:59 PM
Aiki
Aiki - avatar
+ 1
Here is what to do 1 Open Your HTML editor 2 Using CSS import the following script styledimg { background-image: url(path); background-repeat: no-repeat; width: 10px; height: 20px; } 3 Change (path) to your image url 4 replace “10” with the image width 5 replace “20” with the image height If this does not work let me know!
25th Feb 2020, 11:56 PM
Cole
+ 1
Thank you! The postimages link helped bunches!
26th Feb 2020, 2:42 AM
Madison
Madison  - avatar
- 1
What coding language?
25th Feb 2020, 8:34 PM
Cole
- 1
Well, I'm not sure if I should use html or my css. It's for my company that I'm trying to start up.
25th Feb 2020, 8:52 PM
Madison
Madison  - avatar