Difference between revisions of "Demo:TargetFrame"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
</html> | </html> | ||
=Important Notice= | =Important Notice= | ||
The use of external frame and raw HTML code is a dangerous practice in general, and is discouraged. | The use of external frame and raw HTML code is a dangerous practice in general, and is discouraged. This implementation requires the variable [[mw:Manual:$wgRawHtml|$wgRawHTML]] in LocalSettings.php to be set to '''true | ||
'''. |
Revision as of 03:41, 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>
Important Notice
The use of external frame and raw HTML code is a dangerous practice in general, and is discouraged. This implementation requires the variable $wgRawHTML in LocalSettings.php to be set to true .