Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All hostname

hostname of type DOMString

Sets or retrieves the host name part of the location or URL. If no host name is available, this property returns an empty string.

This is a DOM attribute only.

This attribute extends the following interfaces:

© 2016 Microsoft