La méthode document.CreateElement ()

const newButton = document.createElement("button");
Douglas Stemple