Difference between revisions of "Demo:TargetFrame"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
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> | ||
=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 [[mw:Manual:$wgRawHtml|$wgRawHTML]] in [[LocalSettings.php]] to be set to '''true | |||
'''. |
Latest revision as of 03:42, 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 .