Computer Science, asked by wwwvinodalax2958, 10 months ago

How do you insert a text box and a Password field in a form ? Give their attributes also.

Answers

Answered by dhanamvijay2002
0

Example:

<!DOCTYPE html>

<html>

<body>

<h1>Display a Password Field</h1>

<form action="/action_page.php">

<label for="email">Email:</label>

<input type="email" id="email" name="email"><br><br>

<label for="pwd">Password:</label>

<input type="password" id="pwd" name="pwd" minlength="8"><br><br>

<input type="submit">

</form>

</body>

</html>

The above image refers to a output.

Attachments:
Similar questions