kmurphy1222 / tea

1 stars 0 forks source link

Best practices on linking and file management #4

Open tommygebru opened 5 years ago

tommygebru commented 5 years ago

Consider using local file paths for your local project assets for easy access and offline use, for further reading here are two excellent resources on dealing with files and linking to file paths πŸ˜„ https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/Dealing_with_files



https://www.kirupa.com/html5/all_about_file_paths.htm


This also goes for your background-images in the css document instead of relying on separate web URL links coming from different servers πŸ‘

tommygebru commented 5 years ago

Also as you begin to use local file paths, make sure to become familiar with relative vs absolute file paths Relative file paths, will secure the project assets and make them viewable anywhere πŸ‘

Absolute file paths, will require that a specific domain name or url to access and view the documents

You can review these concepts further here https://www.coffeecup.com/help/articles/absolute-vs-relative-pathslinks/