Adding image source | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Adding image source

Hey guys! I am super new in web development so haven't mastered lots of things but i am at a certain level. I have trouble with image source. Meaning that how do i locate the location of the image if it's in my PC. I need help from anyone of you. Thanks

28th Nov 2018, 7:24 PM
Enoc
Enoc - avatar
2 Respostas
+ 5
/if your html file and image is in same folder, all you need is simple code <img src="img_name. jpg" > /if your image and html file is in different directory then <img src="c:/photo/my_pic/img_name. jpg" > šŸ“‚ c:/ ā””šŸ“ photp ā””šŸ“ my_pic ā””šŸ’¾ img_name. jpg /https://www.sololearn.com/learn/HTML/1030/?ref=app
28th Nov 2018, 7:36 PM
Sudarshan Rai
Sudarshan Rai - avatar
29th Nov 2018, 4:19 AM
Enoc
Enoc - avatar