JSFiddle - React, Tailwind, and code Playground

by zhouyulong

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <!-- <input id="submit" type="button" value="提交" /> -->
  
</body>
</html>

JavaScript

var e = document.createElement("input");
e.id = "submit";
e.type = "button";
e.value = "提交";
document.body.appendChild(e);