The default value of input tag's type attribute is text. code example Example: default value input <input type="text" id="fname" name="fname" value="John">