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" >