HTML <input type="hidden"> (original) (raw)

Last Updated : 25 May, 2026

The HTML element is used to store hidden data in a form that is not visible to users. It is commonly used to send additional information during form submission.

**Syntax:

**Example: Demonstrates the use of HTML element.

html `

HTML Input Type Hidden

HTML <input type="hidden">

<form action="#">
    <input type="hidden" id="myFile" value="1234">

    <label for="heading">Enter Heading:</label><br>
    <input type="text" name="heading" id="heading">
    <br><br>

    <label for="content">Enter Paragraph:</label><br>
    <textarea name="content" id="content"></textarea>
    <br><br>

    <label for="content">Enter Meta Description:</label><br>
    <textarea name="content" id="content"></textarea>
    <br><br>

    <input type="submit" value="Create Post">
</form>

`