Pathname is a property of both the Link
and the Location objects and is a
string portion of a URL specifying how a particular resource can be
accessed. Assuming a link (stored in the first element of the links
property) to a URL ...
...the following code would display the pathname property of
Although the pathname property can be set at any time, it is
safer to set the href property to change