Articles → HTML → Input Elements In HTML
Input Elements In HTML
What Are Input Elements?
- Textbox (for writing plain text)
- Radio button
- Checkbox
- Password textbox
Input Type = Text
Input Type = Radio
Input Type = Checkbox
<input type="checkbox" />
Input Type = Password
<input type="password" />
Example
<html>
<head>
<title>input elements Demo</title>
</head>
<body>
<form>
<input type="text" />
<input type="radio" />
<input type="checkbox" />
<input type="password" />
</form>
</body>
</html>
Try It
Output
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
Yes | Yes | Yes | Yes | Yes | Yes |