How do I take a picture on my phone and save it to a file that I can use in a link element? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I take a picture on my phone and save it to a file that I can use in a link element?

Saving Picture for Link

20th Jul 2018, 8:27 PM
Stan Berger
Stan Berger - avatar
6 Answers
+ 3
Stan Berger First, make sure the images are in the same folder as your html file. For example; if your html file is in a folder called "html files" , make sure your images is also in that same "html files" folder. Also make sure you spelt the name of the image correctly in your code. And be sure to add the extension (jpg, png, bmp etc.) of the image in your code. for example; if you want to display the image with the filename "myimage", type the code in this format <img src="myimage.jpg"> In general, it is good practice to keep all your web files in one folder. For more info, visit https://learnwebcode.com/how-to-insert-an-image-in-xhtml/
21st Jul 2018, 2:43 PM
Evans Teye
Evans Teye - avatar
+ 2
Not really understand what you mean here, I know the <link> is used for linking stylesheets, and <a> is used to jump to another resources. Are you actually asking how to use images on a web page?
20th Jul 2018, 10:29 PM
Ipang
+ 2
Was it helpful? if not, you can post your code here so that we find out the error
21st Jul 2018, 2:44 PM
Evans Teye
Evans Teye - avatar
+ 1
What do you mean by saving the image to a file? please explain further.
20th Jul 2018, 10:36 PM
Evans Teye
Evans Teye - avatar
+ 1
I cannot seem to get to the correct filename for pictures in the folder on my phone. I am yes trying to include some pictures on a webpage or part of my HTML/CSS/JS programs
21st Jul 2018, 11:22 AM
Stan Berger
Stan Berger - avatar
+ 1
Thanks, will try again!!
21st Jul 2018, 4:54 PM
Stan Berger
Stan Berger - avatar