how to put a something in type value html code example Example: default value input <input type="text" id="fname" name="fname" value="John">