Skip to content

Instantly share code, notes, and snippets.

@sounisi5011
Created January 21, 2017 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sounisi5011/a45210b19d9fa4f1c20ce09018b01ec3 to your computer and use it in GitHub Desktop.
Save sounisi5011/a45210b19d9fa4f1c20ce09018b01ec3 to your computer and use it in GitHub Desktop.
The DOM input event run test
<!DOCTYPE html>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<meta name=format-detection content="telephone=no,email=no,address=no">
<title>The DOM input event run test</title>
<h1>The DOM input event run test</h1>
<!--<p><label>&lt;input type=hidden&gt;: <input type=hidden></label>-->
<p><label>&lt;input type=text&gt;: <input type=text></label>
<p><label>&lt;input type=search&gt;: <input type=search></label>
<p><label>&lt;input type=tel&gt;: <input type=tel></label>
<p><label>&lt;input type=url&gt;: <input type=url></label>
<p><label>&lt;input type=email&gt;: <input type=email></label>
<p><label>&lt;input type=password&gt;: <input type=password></label>
<p><label>&lt;input type=date&gt;: <input type=date></label>
<p><label>&lt;input type=month&gt;: <input type=month></label>
<p><label>&lt;input type=week&gt;: <input type=week></label>
<p><label>&lt;input type=time&gt;: <input type=time></label>
<p><label>&lt;input type=datetime-local&gt;: <input type=datetime-local></label>
<p><label>&lt;input type=number&gt;: <input type=number></label>
<p><label>&lt;input type=range&gt;: <input type=range></label>
<p><label>&lt;input type=color&gt;: <input type=color></label>
<p><label>&lt;input type=checkbox&gt;: <input type=checkbox></label>
<p>&lt;input type=radio&gt;: <input type=radio name=input-radio> / <input type=radio name=input-radio>
<p><label>&lt;input type=file&gt;: <input type=file></label>
<p><label>&lt;input type=submit&gt;: <input type=submit></label>
<p><label>&lt;input type=image&gt;: <input type=image alt="Image Button"></label>
<p><label>&lt;input type=reset&gt;: <input type=reset></label>
<p><label>&lt;input type=button&gt;: <input type=button value=Button></label>
<p><label>&lt;textarea&gt;: <textarea></textarea></label>
<p><label>&lt;select&gt;: <select><option>001</option><option selected>002</option><option>003</option><option>004</option></select></label>
<h2>Specification</h2>
<ul>
<li><a href="https://html.spec.whatwg.org/multipage/forms.html#the-input-element">HTML Standard 4.10.5 The input element — Last Updated 4 January 2017</a>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment