Open In App
Related Articles

HTML <input type=”hidden”>

Improve Article
Save Article
Like Article

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 &lt;input type = "hidden"&gt;
    <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 and above
  • Edge 12.0 and above
  • Internet Explorer
  • Firefox 1.0 and above
  • Safari 1.0 and above
  • Opera 2.0 and above

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 22 Jul, 2022
Like Article
Save Article
Similar Reads
Complete Tutorials