The href property contains the entire URL, while the other properties contain portions of the URL. The default property for the location object is location.href. For example, setting location='http://microsoft.com' is equivalent to setting location.href='http://microsoft.com'. The browser immediately navigates to the specified URL when any of the properties listed below are set.
This object is available in script as of Microsoft Internet Explorer 3.0.