Wget is a pretty powerful utility that allows you to download an entire website, with css, js, images and internal links intact. After the download, the website can be viewed locally.
We are at a crossroads. A battle is going on around us: mobile web troops are fighting the native apps army. The apps are well equipped with hardware resources and native interfaces. The mobile web is throwing in responsive design to the defenses.
Who is winning? Are we going to manage our lives from the web browser or will there be an app for everything, literally?
You can use relative paths and link relative to the page. You can use absolute paths and link relative to the website root. There are also ways to link relative to the “home directory” and resolve paths on the server side.
Which way is the best? Relative paths are the simplest, but as the website scales, maintenance can quickly become an issue. I recommend using absolute paths for medium- to large-sized websites. If you want to know why read on.