A relative file path points to a file relative to the current page.
|
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h2>Using a Relative File Path</h2>
<img src="https://itupto.com/avatar.png" alt="Profile" style="width:300px">
</body>
</html>
<img src="/images/picture.jpg" alt="Mountain">
<img src="../images/picture.jpg" alt="Mountain">
What is HTML File Paths | HTML File Paths |
What does mean HTML File Paths | HTML File Paths |
How to create HTML Absolute File Paths | HTML File Paths |
How to relative File Paths | HTML File Paths |
Full Example of relative File Paths | HTML File Paths |
Read Full: | HTML File Paths |
Category: | Web Tutorial |
Sub Category: | HTML File Paths |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 2 |
Ref on: | View |