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

2.1.1 [DOM Level 2 - HTML] Section 1.5, Objects related to HTML documents


The specification states:

 domain of type DOMString, readonly 
 The domain name of the server that served the document, or null if the server 
 cannot be identified by a domain name.

All Document Modes (All Versions)

An empty string is returned, instead of null, if the page is run from the local computer.

© 2016 Microsoft