0
Images in HTML
How do I add an image that I have on my computer into a website I am writing?
3 odpowiedzi
+ 2
use the IMG tag and the SRC attribute to add it
the value for the SRC attribute is the path to the file and the file name and extension
0
For example, if you have a photo named "tree.jpg" in the same folder as the HTML file, your code should look like this...
So it should be in the same folder of the HTML file.
OK, I get that, but would I use the directory of the file in place of the URL?
0
OK, that's what I was thinking it was. Thanks!