MDN self-hosted library · e01.org

HTMLFormElement: target property

HTML DOM

Open notebook · 1 cells web-api-instance-property upstream source

HTML DOM

The target property of the HTMLFormElement interface represents the target of the form's action (i.e., the frame in which to render its output).

Value

A string.

Examples

myForm.target = frames[1].name;

Specifications

Browser compatibility