Enter your email id to get regular update free
Login
Your Email
Pasword

What are File Paths in HTML?

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

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">

File Paths
HTML
Ayesha
Tech writer at newsandstory
Total 285 views