Explain the ‘input’ tag and its common types.

<input> is a versatile form element. Types include text, checkbox, radio, password, and submit.

Example:

<input type="text" name="username">
<input type="checkbox" name="subscribe">
<input type="radio" name="gender" value="male">