Difference between revisions of "Demo:TargetFrame"

From PKC
Jump to navigation Jump to search
Line 11: Line 11:
<a href="https://cnn.com" target="_blank">This is a News Webite</a>
<a href="https://cnn.com" target="_blank">This is a News Webite</a>
</html>
</html>
This can also be translated into a template.
{{hyperlinkTemplate
|href=http://apple.com
|displayedText=Apple Home Page
}}

Revision as of 03:21, 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