update form to use placeholder and select instead of labels

This commit is contained in:
edbrz9 2022-12-30 14:32:39 +01:00
parent 23f2ddcd20
commit f97f138fe9
1 changed files with 5 additions and 4 deletions

View File

@ -11,10 +11,11 @@
<div id="root"> <div id="root">
<form method="post" action="handler.php"> <form method="post" action="handler.php">
<label for="url">URL:</label><br> <input type="text" placeholder="YouTube URL" id="url" name="url"><br>
<input type="text" id="url" name="url"><br> <select id="lang" name="lang">
<label for="lang">Language:</label><br> <option value="en">EN</option>
<input type="text" id="lang" name="lang"><br><br> <option value="fr">FR</option>
</select>
<input type="submit" value="Submit"> <input type="submit" value="Submit">
</form> </form>