HTML Forms in Hindi (Beginner to advanced)

Example:

Output :

1. action Attribute





Syntax :

Gender:

<input type="radio" name="gender">
Male

<input type="radio" name="gender">
Female




2. Label Element (<label>)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<form action="submit.php">
<label>
Username:
</label>

<input type="text">

</form>
</body>
</html>

3. Textarea Element (<textarea>)

4. Select Element (<select>)


Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top