Using HTML Targets

In HTML, the target attribute is used to specify where to open the linked document (anchor - a).

There are 5 different features available.

The _blank value opens the linked document in a new window or tab.

The _self value opens the linked document in the same document. Since this property is the default, if no target is specified in a (anchor), then the value "_self" is considered valid.

The _parent value opens the linked document in the parent frame.

The _top value opens the linked document in the full body of the window.

The frame name value opens the linked document in the specified named frame.



You May Interest

HTML h Header Usage

Making HTML Paragraphs

Adding HTML Line Breaks

Using HTML <em>

What is HTMLCollection ?