Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

NOTE: This is not implemented in Mozilla

Read-only reference to a DTD entity. Also inherits the methods and properties of Node.


Entity.publicId Read only
Is a DOMString.
Entity.systemId Read only
Is a DOMString.
Entity.notationNameRead only
Is a DOMString.
Entity.inputEncodingRead only
Is a DOMString.
Entity.xmlEncodingRead only
Is a DOMString.
Entity.xmlVersionRead only
Is a DOMString.


This interface neither implements, nor inherits, any method.


Specification Status Comment
Document Object Model (DOM) Level 3 Core Specification
The definition of 'Entity' in that specification.
Recommendation Initial definition

Document Tags and Contributors

 Contributors to this page: Sebastianz, teoli, iamanupmenon, Sheppy, Brettz9
 Last updated by: Sebastianz,