JSFiddle - React, Tailwind, and code Playground
by yshrkn
HTML
<form action="ok.php" method='GET' id='myForm'>
<input type="text" id='test' value=''>
<input type="submit" value='送信'>
</form>
JavaScript
var domP = document.getElementsByTagName(p);
console.log(domP);