What is a local address and how does it differ from a web address?


#1

Question

This exercise says, “A URL is the web address or local address where a file is stored”. What is a local address and how does it differ from a web address?

Answer

A local address refers to the path to an image, file, or resource that exists on your own computer. A web address on the other hand generally refers to the path to an image, file, or resource that exists externally, on a remote computer.


FAQ: Learn HTML Elements - Intro to HTML - Images
#2

You can understand like this - local adress is a adress which work in local browser(bar that work with you open file syatem in computer E:\ music etc.) like as computer window browser that work like web browser(chrome, mozila) for more info you can read related article in vikiblogs


#3

a local file will be relative to the html directory on the server you are hosting the website on and would look like this
/images/bears/brown_bear.jpg