on this occasion I will give tutorial how to make various types of input on PHP-HTML programming. many types of input what is like text input, input type text area, type input password, type input text, option button, radio button and others. we will directly create one by one the types of input.
<body>
<form action="" method="post">
Name : <input name="name" type="text" />
</form>
</body>
<form action="" method="post">this is the section for method declarations
Name : <input name="name" type="text" /> and this is the declaration of the input type we want to create, this is for the text input type.
the output is as below:
<html>
<body>
<form action="" method="post">
addres :<textarea name="alamat" rows="7" col="150"></textarea>
</form>
</body>
</html>
<textarea name="alamat" rows="7" col="150"></textarea>this is the declaration of the input textarea.
output from textarea type:
Password : <input name="password" type="password" /> this is the declaration of that type.<form action="" method="post"> Tanggal : <input name="tanggal" type="date" /></form>output from date input type:
<form action="" method="post">
Hobby : <input name="hobby" type="checkbox" value="football" /> football
<input name="hobby" type="checkbox" value="Baseball" /> Baseball
</form>
output dari checkbox input type:
<html>
<body>
<tr>
<td valign="top">Country</td>
<td valign="top">:</td>
<td valign="top"><select name="country" id="country">
<option value="england">england</option>
<option value="america">america</option>
<option value="japan">japan</option>
<option value="taipe">taipe</option>
<option value="ukraine">ukraine</option>
<option value="ducth">ducth</option>
</select></td>
</tr>
</body>
</html>
output dari option inpu type:
okay tutorial is over, I've made some kind of input in making a form using PHP-HTML programming, let's try at home if there are less obvious you can ask directly on the comments
Place here a list of related tutorials you have already shared on Utopian that make up a Course Curriculum, if applicable.