Could you give me an explanation about the different values of target="_blank" and what are the FRAMES?

I had googled the different values of the target’s value , but I’m not quite sure about them , I don’t understand them because the most of them are applied to FRAMES

I can get the use of target="_blank" that let you open an anchor link in other tab , and target="_self" that let you open the in the same tab and it’s a bit useless, the same webpage tells that these and others values of target are useless beacuse you don’t use them

Could you give me an explanation about the different values of target="_blank" and what are the FRAMES?
The values that I had found are :

  • _blank
  • _self
  • _parent (I don’t get the utility of this one)
  • _top ( this neither)
    _framename (this neither)

Frames were a way of splitting an HTML page up into different sections (frames), each of which was a different HTML document loaded in from somewhere else. Like:

<html>
  <frameset>
    <frame src="https://some-html-document" />
    <frame src="https://another-html-document" />
    <frame src="https://yet-another-html-document" />
  </frameset>
</html>

They were used mainly so that you could have a navigation bar in one frame, and when you clicked on links in it, it would load the page the link pointed to into another frame.

This was a long time ago, they are now deprecated. They’ll still work in most browsers for backwards compatibility reasons, but they’re awful, don’t use them. The extra target attributes are for frames, and as no-one uses frames any more, they aren’t used either.

1 Like

Thanks Dan!!!
I get it now

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.