Issue with input not showing up in HTML
P粉043432210
2023-08-01 12:47:42
<p>I just want four different places to enter numbers between 1-8, not accepting any letters or special characters. I just need numbers. However, when I run the code, there is no input. `<br /><br />Can someone help me get the input to only allow numbers from 1-8. This is what I wrote:</p><p><br /></p>
<pre class="brush:php;toolbar:false;">'
<body>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MhMTSEL</title>
//inputs
<p1>M:</p1><input1 id="alpoint" value="-" /></div><br>
<p2>S</p2><input2 id="alpoint" value="-" /></div><br>
<p3>El</p3><input3 id="alpoint" value="-" /></div><br>
<p4>MT/hMT</p4><input4 id="alpoint" value="-" /></div><br>
</body>
'</pre>
<p><br /></p>
First of all, an id can only be used once in an html page.
It should be fine now