Section 1 - Introduction
Section 2 - Basics
Your first page
Formatting
Text tricks
Pictures
Links
Anchors
External Links
In-site Links
Navigation Links
Pictures
E-mail
Targets
You try it
Backgrounds
Section 3 - Next Level
Section 4 - Advanced
Section 5 - Publishing
Section 6 - Extras
Appendices
|
Targets One last help before we leave hyperlinks. You have a little bit of control on where the new pages opens. For example, sometimes you want the page to open up in a new window. Sometimes you want the page to replace the one you're looking at. It's nice to be able to tell the link how to open. This is done through targets. Here are some examples:
- If you want the page to open up in a new window, you'd type
- <a href="demolink.html" target=_blank> Link </a>
- If you want the page to open up in your current window, you'd type
- <a href="demolink.html" target=_self> Link </a>
- If you want the page to open up in the top-most window, you'd type
- <a href="demolink.html" target=_top> Link </a>
- If you want the page to open up in a window you named "wilma", you'd type
- <a href="demolink.html" target="wilma"> Link </a>
Well, I really don't want to show you all of these. Feel free to experiment on your own. These targets aren't necessary, but they're useful sometimes. Decide for yourself what works best for you.
|