<input>
Tag<p>Name: <input type="text" placeholder="Enter your name"></p>
<p>Password: <input type="password" placeholder="Enter your password"></p>
<input type="submit" placeholder="enter your text" >
required
Attribute:required
Attribute specifies that the field is required to fill before submitting a form.<input type="text" id="username" placeholder="Text input" required>
type
Attribute:
- The type attribute specifies the type of
<input>
element to display.- If the type attribute is not specified, the default type is "text".
<input type="value">