how to enter constant value in html input tag code example Example: default value input <input type="text" id="fname" name="fname" value="John">