HTMLInputElement: defaultChecked property - Web APIs | MDN
Value
A boolean.
Examples
js
const inputElement = document.getElementById("contactMail");
console.log(inputElement.defaultChecked);
Specifications
| Specification |
|---|
| HTML # dom-input-defaultchecked |