tutorial home previous panel: <noframes> </noframes> next panel: <form target=...> </form>

The Tags: <a href=... target=...> </a>

<a href=document_url ...

The anchor tag, <a>, should be nothing new to you. Its primary use is to mark up hypertext, or text which, when selected, causes the browser window to be updated with another document.

... target= { "frame_name" ...
_self
_parent
_top
_blank

By adding this attribute to a hyperlink tag, the programmer can instruct the browser which frame or window to display the new document in. For frame_name, the programmer should use either names given in <frame> tags or, if possible, one of the following special frame names:

_self
Instructs the browser to display the new document in the same frame and window as the hyperlink that loads it. All frames target themselves by default, so this name is not very useful or necessary.
_parent
Instructs the browser to display the new document in the parent frame of the frame containing the hyperlink that loads it. If the frame has no parent, then this name has the same effect as _self.
_top
Instructs the browser to remove all frames and display the new document in the entire window. If there are no frames, then this name has the same effect as _self. This target makes it possible to "exit" a framed document.
_blank
Instructs the browser to display the new document in a new, unnamed window.

Next: The Tags: <form target=...> </form>

[ menu | previous page | next page ]