Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

The Target Attribute

The target attribute defines where to display the response after submitting the form.

Target can have one of the following values:

Value

Description

_blank

The response is shown in a new window or tab.

_self

The response is shown in the current window

_parent

The response is shown in the parent frame

_top

The response is shown in the full body of the window

framename

The response is shown in a named iframe

The default value is _self, meaning the response will open in the current window.

Example

In this case, the submitted result will open in a new browser tab:

<form action=”/action_page.php” target=”_blank”>