saftutorials.com
HTML File Path Tutorial

HTML File Path use for call external file to web like Image, Css file or Javascript file or any Web Page. Syntax is different for different file. There are no website without not using call File Path.  

How to use HTML File Path?

First write file type linking tag like:

<img src="Your image source here"> For call Image in Webpage.

<link rel="stylesheet" type="text/css" href=Your Css Source here"">

Syntax of HTML File Path for Image

<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML Table Tutorials</title>
</head>
<body>
<img src="../uploads/sample.png"></iframe>
</body>
</html>

HTML File Path Source

1) <script src="jquery.js"></script> : For link to same directory file link

2) <script src="../jquery.js"></script> : For link to previous directory file link

3) <script src="js/jquery.js"></script> : For link to JS directory file link

4) <script src="/js/jquery.js"></script> : For link to current web file link

5) <script src="http://www.saftutorials/js/jquery.js"></script> : For link to External Website file link


Where use File Path Source

1) Image. Example:

 <img src="../uploads/sample.png">

2) CSS File. Example:
 <link rel="stylesheet" type="text/css" href=Your Css Source here"">

3) JavaScript File. Example:
 <script src="jquery.js"></script>

4) Iframe. Example

<iframe src="http://www.saftutorials.com"></iframe>
5) Video. Example

<video width="100%" height="300" controls>
  <source src="../uploads/sample.mp4" type="video/mp4">
  <source src="../uploads/sample.ogg" type="video/ogg">
  Browser does not support the video tag.
</video>

6) Audio. Example

<audio controls>
  <source src="../uploads/sample.ogg" type="audio/ogg">
  <source src="../uploads/sample.mp3" type="audio/mpeg">
  Browser does not support the audio tag.
</audio>
Find us on

Facebook Google Plus Twitter Pinterest YouTube

web statistic