Computer Science, asked by shaluraikwar207, 8 months ago

Q3 Write the HTML code to generate the following form: ​

Attachments:

Answers

Answered by ankityadav6600
1

Explanation:

<!DOCTYPE html>

<html>

<body>

<h2>Add new Person</h2>

<form>

<label for="fname">Name:</label><br>

<input type="text" id="fname" name="fname" value="John"><br>

<label for="lname">Age:</label><br>

<input type="number" id="lname" name="lname" value="Doe">

<label for="fname">Company:</label><br>

<input type="text" id="fname" name="fname" value="John">

<label for="fname">Email:</label><br>

<input type="text" id="fname" name="fname" value="John">

</form>

<p>Note that the form itself is not visible.</p>

<p>Also note that the default width of text input fields is 20 characters.</p>

</body>

</html>

Similar questions