publicId property (doctype)
Returns the public identifier portion of the doctype element.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the public identifier.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the publicId property:
Did you find this example helpful?
User Contributed Comments