Create text fields

Create text fields

<!DOCTYPE html>
<html>
<body>

<form action=""> First name: <input type="text" name="firstname">
<br> Last name: <input type="text" name="lastname">
</form>

<p><b>Note:</b> The form itself is not visible. Also note that the default width of a text field is 20 characters.</p>

</body>
</html>

Output

First name: 
Last name: 

Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.

ليست هناك تعليقات:

إرسال تعليق