Difference between revisions of "Demo:TargetFrame"

From PKC
Jump to navigation Jump to search
Line 15: Line 15:
|href=http://apple.com
|href=http://apple.com
|displayedText=Apple Home Page
|displayedText=Apple Home Page
|targetFrameName=_blank
}}
}}

Revision as of 03:23, 29 March 2022

To use a separate target frame, one must use the <html> tag. A short example can be found here:

<html>
<a href="https://cnn.com" target="_blank">This is a News Webite</a>
</html>

Then, it will be displayed as follow:

<html>

<a href="https://cnn.com" target="_blank">This is a News Webite</a> </html> This can also be translated into a template. Template:HyperlinkTemplate