Login
Your Email
Pasword
Home
Write
Trending
History
Liked
Earning

What are File Paths in HTML?

A file path describes the location of a file in a folder structure of web site.

Do you have similar website/ Product?
Show in this page just for only $2 (for a month)
Create an Ad
0/60
0/180

File paths are used when linking to external files e.g  Web pages ,Images, Style sheets ,JavaScripts.
Two main types of path files are:
Absolute File Paths
Relative File Paths
Absolute File Paths:
An absolute file path is the full URL to an internet file.
E.g:
<img src="https://newsandstory.com/images/pic.jpg" alt="Nature">
Relative File Paths:
A relative file path points to a file relative to the current page.
<img src ="/images/pic.jpg" alt="Nature">

CONTINUE READING
File Paths
HTML
Ayesha
Tech writer at newsandstory