What is a <input> tag?

Experience Level: Junior
Tags: HTML

Answer

Example
<html>
   <head>
      <title>...</title>
   </head>
   <body>
      <form>
         <label for="fname">First name:</label> 
         <input type="text" name="name" id="fname"/>
      </form>
   </body>
</html>
Related HTML job interview questions
HTML for beginners
HTML for beginners

Are you learning HTML? Try our test we designed to help you progress faster.

Test yourself