What is FILE PATH in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is FILE PATH in HTML

Dear friends help me. I want to know what is FILE PATH in HTML.

16th Aug 2016, 2:30 PM
Kanishka Tyagi
Kanishka Tyagi - avatar
4 Answers
0
File path is basically your route or address to any file, you set it every day using graphical user interface (GUI) on your computer. An example would be having a videos on your desktop. We see it as a folder in on screen when we log on our PCs but the computer writes it as c:/users/yourusername/desktop/videoname so similarly html has it's own file path system where to set an image in html file we use the code <img src="myimage.jpg" /> we set it like this because the file is the same directory as the html file but if you have any file in sub-folder the code will be written as <img src="/subdirectoryname/myimage.jpg" /> I hope this clears all your queries
18th Aug 2016, 3:07 AM
shadow1435
0
Thanks it is helpful
18th Aug 2016, 5:16 AM
Kanishka Tyagi
Kanishka Tyagi - avatar
0
happy to help☺
18th Aug 2016, 6:00 AM
shadow1435
0
Thanks
18th Aug 2016, 6:02 AM
Kanishka Tyagi
Kanishka Tyagi - avatar