ZVON > References > DOM2 Reference

specified (attribute )

Owning interface and usage:  
Attr.specified

Member of these other interfaces:  
none

Readonly:   yes

Type:   Boolean

Description:  
Thanks to this attribute you can find out something about "DTD-background" of tested attribute. In summary:


Example:
JavaScript:
  var attr = document.createAttribute('temp');
  attr.value = 'temporary';
  var output = attr.specified;
Output:
desired your browser
true