HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML target Attribute

HTML target Attribute

 

 

For a and area elements, the target attribute is used to specify where to open the linked document.

For base elements, the target attribute is used to specify the default target for all hyperlinks and forms on the page.

For form elements, the target attribute is used to specify a name or a keyword that indicates where to display the response that is received after submitting the form.

 

Used With:-

 

Elements Attribute
a target
area target
base target
form target

 

Syntax:-

 

Its syntax is:- < element target="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML