A hyperlink , Link for short, is a cross-reference on a website that enables a jump to another website or to another point within this page.

Possible target attributes for a hyperlink via HTML:

  • _blank – Opens the linked document in a new window / tab
  • _self – Opens the linked document in the same window / tab (this is the default)
  • _parent – Opens the linked document in the parent frame
  • _top – Opens the linked document in the entire window area
  • Frame name – Opens the linked document in a named frame

Example:

<a href="http://www.google.de/">Google</a>

In order for this link to open in a new window / tab, it must be entered withtarget=”_blank” added:

<a href="http://www.google.de/" target="_blank">Google</a>

Dieser Beitrag ist auch verfügbar auf: Deutsch (German)

Skip to content