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?
5 Antworten
+ 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!
ʕっ•ᴥ•ʔっ (◕ᴗ◕✿)
+ 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!
+ 1
Thank you! The postimages link helped bunches!
- 1
What coding language?
- 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.