Skip to content
Related Articles

Related Articles

Improve Article

HTML <input type=”hidden”>

  • Last Updated : 29 May, 2019

The HTML <input type=”hidden”> is used to define a input Hidden field. A hidden field also includes those data that could not be seen or modified by the users when submitted the form. A hidden field only stores those database records that need to be updated when submitting the form.


<input type="hidden"> 


<!DOCTYPE html> 
        HTML input type hidden
        h1 { 
            color: green; 
        body { 
            text-align: center; 
        HTML <input type = "hidden"
    <form action="#">
        <input type="hidden" id="myFile" value="1234">
        Name: <input type="text">
        <input type="submit" value="Submit">


Supported Browsers: The browsers supported by <input type=”hidden”> are listed below:

  • Google Chrome 1.0
  • Internet Explorer
  • Firefox 1.0
  • Safari 1.0
  • Opera 1.0

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :