Draft
This page is not complete.
Obsolete
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.
Read-only reference to a DTD entity. Also inherits the methods and properties of Node.
Properties
Entity.publicIdRead only- Is a
DOMString. Entity.systemIdRead 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.
Specifications
| Specification | Status | Comment |
|---|---|---|
| Document Object Model (DOM) Level 3 Core Specification The definition of 'Entity' in that specification. |
Recommendation | inputEncoding, xmlEncoding, and xmlVersion were added |
| Document Object Model (DOM) Level 2 Core Specification The definition of 'Entity' in that specification. |
Recommendation | No change |
| Document Object Model (DOM) Level 1 Specification The definition of 'Entity' in that specification. |
Recommendation | Initial definition |
Browser compatibility
| Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | ? | No support | No support | No support | ? | ? |
| Feature | Android | Chrome for Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? |