Which input attribute sets the default value? code example Example: default value input <input type="text" id="fname" name="fname" value="John">