1 00:00:00,120 --> 00:00:06,770 In this lesson we'll explore absolute verse relative file referencing the concept is best illustrated 2 00:00:06,770 --> 00:00:15,310 with an example in our last exercise we inserted a video into our each page we did so using the video 3 00:00:15,310 --> 00:00:17,940 element which required a source attribute 4 00:00:20,740 --> 00:00:27,210 we've worked with the source attribute when inserting images as well the source attribute requires that 5 00:00:27,210 --> 00:00:35,360 we specify the source location and name of the file we want to insert into our document since the files 6 00:00:35,360 --> 00:00:39,860 we've inserted to this point are in the same folder is the HMO file. 7 00:00:40,040 --> 00:00:48,830 We've only had to specify a file name for example why a dot MP for this is an example of relative file 8 00:00:48,830 --> 00:00:57,730 referencing the path of the file is defined relative to its directory now see for example we wanted 9 00:00:57,730 --> 00:01:02,470 to insert an image into this document from an external source. 10 00:01:02,740 --> 00:01:11,670 For example another Web site altogether for that we need to use absolute file referencing an absolute 11 00:01:11,670 --> 00:01:19,710 file path requires that we include the complete address of the file as shown in this block of code that 12 00:01:19,710 --> 00:01:24,470 I'm about to insert here we've included a jeep and file from an external website. 13 00:01:24,600 --> 00:01:26,440 Plan wallpaper dot com. 14 00:01:26,630 --> 00:01:32,070 The fool you are L2 the file is required for the image to be displayed because it's from an external 15 00:01:32,070 --> 00:01:32,750 source. 16 00:01:33,470 --> 00:01:40,280 So now if I refresh the page we can see that the image is output it in our web browser. 17 00:01:43,150 --> 00:01:49,850 Here is the URL to the image and you can see that it's displayed in the browser when we access it. 18 00:01:53,410 --> 00:01:58,170 And so that's all there is to it when it comes to relative versus absolute file referencing.