CYBERCYBERCYBERCYBERCYBER

66
%Off

WeekWeekWeekWeekWeek

0d: 00h: 00m: 00s

🎁 Get 2 extra months of learning β€” completely FREE

That's 60 extra days to master new skills, build more projects, and land your dream job.

Become a PRO
Background Image

🎁 Get 2 extra months of learning completely FREE

Become a PRO
Umir Mohammed
last year
Umircountry asked

What do you mean when you say an image is stored in a nested directory structure?

Kelish Rai
Expert
last year
Kelish Rai answered

When working on a real project, you might organize your files in a structured way using folders inside other folders. This is what we mean by a nested directory structure.

For example:

website   
│── home  
β”‚   │── index.html
β”‚   │── images  
β”‚   β”‚   │── banner.png 

Here, banner.png is inside the images folder, which is inside the home folder, making it a nested directory structure.

Since index.html is in the home folder, you’d reference the image like this:

This tells the browser to look inside the images folder, which is in the same directory as index.html, to find banner.png.

HTML
This question was asked as part of the Learn HTML course.