In a browser, we want to open a local file by typing the path to it in the address bar. The path must be preceded by:
local:///
http://
https://
file:///
Answers Explanation & Hints:
To open a local file in a browser by typing its path in the address bar, the path must be preceded by “file:///”. For example, if you have an HTML file named “index.html” located at “C:\Users\Username\Documents\index.html”, you would type the following in the address bar: file:///C:/Users/Username/Documents/index.html The “file:///” prefix indicates that you want to access a file on the local file system. |