JavaScript Créer un texte de type d'entrée d'élément

// Use document.createElement(tagname);
const input = document.createElement("input");

// Then you will need to append the element to another element in the DOM hierarchy
// element.appendChild(element);
document.body.appendChild(input);

// You can remove an element from the DOM hierarchy similarly
// element.removeChild(element);
MattDESTROYER