+ 3
How do I add images to my HTML?
I think I have tried everything, even google, someone please hel p me. my code looks like this; <img src="project.jpg">
7 odpowiedzi
+ 27
If your code looks like this, then the project.jpg file must be in the same folder as your html file.
+ 24
try this :
<img src ="link to your project.jpg/png" alt="" width="100px" height="200px"/>
https://www.sololearn.com/learn/HTML/1030/?ref=app
+ 4
<img src= "project.jpg"> <!-- must be same folder and make sure check file name & extension. -->.😎
+ 2
It is in the same folder
+ 2
Try this:
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
You can get the Dropbox app on your phone.
+ 2
<html>
<head>
<title>Image<\title>
<\head>
<body>
<img src ="images\img.jpg" alt="" width="100px" height="20px"/><!- - link to the folder where you’ve your image...- ->
<\body>
<\html>
0
I found the problem, every time I add an image to the folder as let's say, (pic1.jpeg) the editor saves it as (pic1.jpeg.jpeg), that's why it didn't show up in the browser.