apex:inputHidden An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page. This component supports HTML pass-through attributes using the "html-" prefix. Pass-through attributes are attached to the generated <input> tag.
apex:inputHidden
An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page.
This component supports HTML pass-through attributes using the "html-" prefix. Pass-through attributes are attached to the generated <input> tag.
Please check below post for more detail
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_inputHidden.htm