What is the purpose of the target attribute of the tag? Write the name of different types of target attributes with their functions.
Answers
Answered by
1
target attribute specifiy where to open (which page) the given link on the browser.
so it's assign different-different value::
1.
_blank: to open on new tab.
2.
_self:to open on the same frame.
for example::: mainly a tag is used for assign the link on page.
<a href="www.google.com" target=_blank> link </a>
href:: is used for assign url in a tag.
so it's assign different-different value::
1.
_blank: to open on new tab.
2.
_self:to open on the same frame.
for example::: mainly a tag is used for assign the link on page.
<a href="www.google.com" target=_blank> link </a>
href:: is used for assign url in a tag.
Similar questions
Science,
7 months ago
Social Sciences,
7 months ago
Social Sciences,
7 months ago
English,
1 year ago
Physics,
1 year ago