Making the form a table

Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
This commit is contained in:
eoghanconlon73 2023-09-11 12:19:42 +01:00
parent 31b96767ca
commit 272ae7a14c

View file

@ -8,11 +8,18 @@
</head> </head>
<body> <body>
<form id="reset"> <form id="reset">
<label for="user">Username</label> <table class="table">
<input type="text" id="user" name="user"/> <br/> <tr>
<label for="pass">Password</label> <td><label for="user">Username</label></td>
<input type="password" id="pass" name="pass"/> <br/> <td><input type="text" id="user" name="user"/> <br/></td>
<label for="field">Field</label> </tr>
<tr>
<td><label for="pass">Password</label></td>
<td><input type="password" id="pass" name="pass"/> <br/></td>
</tr>
<tr>
<td><label for="field">Field</label> </td>
<td>
<select onchange="selectField()" id="field"> <select onchange="selectField()" id="field">
<option value="" selected="selected">Please select an option</option> <option value="" selected="selected">Please select an option</option>
<option value="mail">Email</option> <option value="mail">Email</option>
@ -21,10 +28,16 @@
<option value="sn">Surname</option> <option value="sn">Surname</option>
<option value="skDiscord">Discord username</option> <option value="skDiscord">Discord username</option>
</select> </select>
<br/> </td>
<label for="value">Value</label> </tr>
<input type="text" id="value" name="value"/> <br/> <tr>
<input type="Submit" value="Submit"/> <td><label for="value">Value</label></td>
<td><input type="text" id="value" name="value"/> <br/> </td>
</tr>
<tr>
<td colspan="2"><input type="Submit" value="Submit"/></td>
</tr>
</table>
</form> </form>
<p id="formStatus"></p> <p id="formStatus"></p>
<footer> <footer>