The <hidden> Tag

Purpose

The <hidden> tag renders a hidden input field (i.e., it is mapped to an HTML <input> element with type="hidden").

Requirements

A <hidden> tag has to be embedded in a <form> tag.

Attributes

NameDescription
index Required for array inputs - The array index for this input field.
name Required - Mapped to the HTML attribute of the same name.
value Mapped to the HTML attribute of the same name, if no current value is available.

Body

The <hidden> tag has no body.

Related tags

<text>, <password>, <textarea>