Prop Keygen Type
# Keygen type property
[ Keygen Object](#)
## Example
Return the type of the keygen field of a form element:
```javascript
var x = document.getElementById("myKeygen").type;
_x_ output:
keygen
[Try it Yourself Β»](#)
* * *
## Definition and Usage
The type property returns the type of the field of a form element.
For the keygen field, the property always returns "keygen".
**Note:** This property is read-only.
* * *
## Browser Support

The disabled property is supported in all major browsers, except Internet Explorer.
* * *
## Syntax
_keygenObject_.type
## Technical Details
| Return Value: | A string, representing the type of the keygen field of a form element. |
| --- |
* * Keygen Object](#)
YouTip