First of all download the offline package of w3schools from the link given here.
Now extract the package. The main file to open is situated in the folder www.w3schools.com . This folder has two files known as default. One is a notepad file and another is a html file. Double click on the html file. Thats it.