Page 102 - CA 165 ver 1.0 Class 10
P. 102
Page appears after clicking the
link in the previous page.
Click on ‘Back’ to view
the previous page.
TARGET Attribute
The TARGET attribute specifies where to display the linked URL. Some of the values of 'Target' attribute are:
_blank: It opens the linked document in a new window or tab.
_self: It opens the linked document in the same window/tab as it was clicked. This is the default
behaviour.
_top: It opens the linked document in the full body of the window.
In the given example, it will open the linked document in a new browser window/tab:
<A HREF=“url” TARGET=“_blank”>Text to Display as a Link.</A>
Internal Linking
The internal linking links the various sections of the same document. By clicking on the linked button, the
linked part of the document is displayed on the screen. <A> (Anchor) tag is also used to make an internal
link i.e., it can be used to link the other sections of the same document.
To insert an internal linking, create the link to the segment/section that is to be displayed.
To define a segment/section in the document, NAME or ID attribute can be used in the document. Syntax
to create internal linking is as follows:
<A NAME= “Segment1”> Segment1 </A>
100 Touchpad Computer Applications-X

