Help: Wiki Html

The wiki supports inserting HTML into any wiki context.

HTML support is built-in, and does not require installing any additional packages.

How to Use HTML

To inform the wiki engine that a block of text should be treated as HTML, use the html processor.

This example should explain:

{{{
#!html
<h1 style="text-align: right; color: blue">HTML Test</h1>
}}}

Results in:

HTML Test

Note that the wiki sanitizes your HTML code before displaying it. That means that if you try to use potentially dangerous constructs such as Javascript event handlers, those will be removed from the output.

{{{
#!html
&lt;div class=warning style="border: 2pt solid; text-align: center"&gt;
This is the ''only'' way to go.
&lt;/div&gt;
}}}

Results in:

This is the ''only'' way to go.

For spans, you should rather use the Macro call syntax:

  Hello [[span(''WORLD'' (click [#world-anchor here]), style=color: green; font-size: 120%, id=world-anchor)]]!

Results in:

Hello ''WORLD'' (click [#world-anchor here])!

More Information


See also: Wiki Formatting, Wiki Macros

Created on , Last modified on

Debug Console

Close16 MBRequestSessionTimelineDatabase39Events16
$_GET
Array( version => 1 ) Array(
version => 1
)
$_POST
Array( ) Array(

)
$_COOKIE
Array( ) Array(

)
$_SERVER
Array( USER => apache, HOME => /usr/share/httpd, FCGI_ROLE => RESPONDER, REDIRECT_HTTP_AU... Array(
USER => apache,
HOME => /usr/share/httpd,
FCGI_ROLE => RESPONDER,
REDIRECT_HTTP_AUTHORIZATION => ,
REDIRECT_UNIQUE_ID => ZkHPKo37ZvDxEDjNLxH7FQAAAAA,
REDIRECT_SCRIPT_URL => /wiki/Help:WikiHtml,
REDIRECT_SCRIPT_URI => https://ielab.info/wiki/Help:WikiHtml,
REDIRECT_HTTPS => on,
REDIRECT_STATUS => 200,
HTTP_AUTHORIZATION => ,
UNIQUE_ID => ZkHPKo37ZvDxEDjNLxH7FQAAAAA,
SCRIPT_URL => /wiki/Help:WikiHtml,
SCRIPT_URI => https://ielab.info/wiki/Help:WikiHtml,
HTTPS => on,
HTTP_X_FORWARDED_FOR => 18.224.66.196,
HTTP_X_FORWARDED_PROTO => https,
HTTP_X_FORWARDED_PORT => 443,
HTTP_HOST => ielab.info,
HTTP_X_AMZN_TRACE_ID => Root=1-6641cf2a-3357afcd3d3bf71b3a740899,
HTTP_ACCEPT => */*,
HTTP_USER_AGENT => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com),
HTTP_ACCEPT_ENCODING => gzip, br, zstd, deflate,
HTTP_REFERER => http://ielab.info/wiki/Help:WikiHtml?version=1,
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin,
SERVER_SIGNATURE => ,
SERVER_SOFTWARE => Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_python/3.5.0- Python/2.7.5,
SERVER_NAME => ielab.info,
SERVER_ADDR => 10.84.154.253,
SERVER_PORT => 443,
REMOTE_ADDR => 10.84.154.169,
DOCUMENT_ROOT => /var/www/ielab,
REQUEST_SCHEME => https,
CONTEXT_PREFIX => ,
CONTEXT_DOCUMENT_ROOT => /var/www/ielab,
SERVER_ADMIN => root@localhost,
SCRIPT_FILENAME => /var/www/ielab/index.php,
REMOTE_PORT => 38546,
REDIRECT_QUERY_STRING => version=1,
REDIRECT_URL => /wiki/Help:WikiHtml,
GATEWAY_INTERFACE => CGI/1.1,
SERVER_PROTOCOL => HTTP/1.1,
REQUEST_METHOD => GET,
QUERY_STRING => version=1,
REQUEST_URI => /wiki/Help:WikiHtml?version=1,
SCRIPT_NAME => /index.php,
PHP_SELF => /index.php,
REQUEST_TIME_FLOAT => 1715588906.7061,
REQUEST_TIME => 1715588906
)
session.client.forwarded 18.224.66.196
separator .
orderBy id
orderDir asc
1 registerIP
2 access
always
renew
tracker.sid 18d9b5c254e9566ba99c91eb39695f0d
tracker.ssid 18d9b5c254e9566ba99c91eb39695f0d
tracker.rsid 18d9b5c254e9566ba99c91eb39695f0d
  • site 0.034 seconds (+0.034); 9.50 MB (+9.500) - afterInitialise
  • site 0.050 seconds (+0.016); 11.00 MB (+1.500) - afterRoute
  • site 0.081 seconds (+0.031); 15.00 MB (+4.000) - afterDispatch
  • site 0.090 seconds (+0.009); 15.50 MB (+0.500) - beforeRenderModule mod_custom (Hub Footer)
  • site 0.091 seconds (+0.001); 15.50 MB (0.000) - afterRenderModule mod_custom (Hub Footer)
  • site 0.092 seconds (+0.000); 15.50 MB (0.000) - beforeRenderModule mod_collect (Collect)
  • site 0.092 seconds (+0.001); 15.50 MB (0.000) - afterRenderModule mod_collect (Collect)
  • site 0.092 seconds (+0.000); 15.50 MB (0.000) - beforeRenderModule mod_menu (Community)
  • site 0.093 seconds (+0.001); 15.75 MB (+0.250) - afterRenderModule mod_menu (Community)
  • site 0.094 seconds (+0.000); 15.75 MB (0.000) - beforeRenderModule mod_menu (Support)
  • site 0.094 seconds (+0.000); 15.75 MB (0.000) - afterRenderModule mod_menu (Support)
  • site 0.094 seconds (+0.000); 15.75 MB (0.000) - beforeRenderModule mod_menu (Analyse)
  • site 0.094 seconds (+0.000); 15.75 MB (0.000) - afterRenderModule mod_menu (Analyse)
  • site 0.094 seconds (+0.000); 15.75 MB (0.000) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)
  • site 0.098 seconds (+0.004); 16.25 MB (+0.500) - afterRenderModule mod_breadcrumbs (Breadcrumbs)
  • site 0.098 seconds (+0.000); 16.25 MB (0.000) - beforeRenderModule mod_menu (Main Menu)
  • site 0.115 seconds (+0.017); 16.25 MB (0.000) - afterRenderModule mod_menu (Main Menu)
  • site 0.116 seconds (+0.000); 16.25 MB (0.000) - beforeRenderModule mod_search (Search)
  • site 0.117 seconds (+0.001); 16.25 MB (0.000) - afterRenderModule mod_search (Search)
  • site 0.117 seconds (+0.000); 16.25 MB (0.000) - beforeRenderModule mod_reportproblems (Trouble Report)
  • site 0.119 seconds (+0.002); 16.50 MB (+0.250) - afterRenderModule mod_reportproblems (Trouble Report)
  • site 0.121 seconds (+0.002); 16.50 MB (0.000) - onAfterRender
  • site 0.122 seconds (+0.001); 16.50 MB (0.000) - sessionStore
16 MB

39 Queries Logged: 0.010676145553589 seconds

  1. SELECT data
      FROM `jos_session`
      WHERE `session_id` = '80daaaa469685f56110ad22a40e4ef2d'
  2. DELETE
      FROM `jos_session`
      WHERE `session_id` = '80daaaa469685f56110ad22a40e4ef2d'
  3. SELECT data
      FROM `jos_session`
      WHERE `session_id` = '18d9b5c254e9566ba99c91eb39695f0d'
  4. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_languages'
  5. SELECT session_id
      FROM `jos_session`
      WHERE `session_id` = '18d9b5c254e9566ba99c91eb39695f0d'
      LIMIT 1
  6. INSERT INTO `jos_session` (`session_id`,`client_id`,`time`,`ip`)
      VALUES ('18d9b5c254e9566ba99c91eb39695f0d','0','1715588906','10.84.154.169')
  7. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_members'
  8. SELECT b.id
      FROM `jos_usergroups` AS `a`
      LEFT JOIN jos_usergroups AS b
      ON b.lft <= a.lft
      AND b.rgt >= a.rgt
      WHERE `a`.`id` = '1'
  9. SELECT *
      FROM `jos_viewlevels`
  10. SELECT folder AS type,element AS name,protected,params
      FROM `jos_extensions`
      WHERE `enabled` >= '1'
      AND `type` = 'plugin'
      AND `state` >= '0'
      AND `access` IN ('1','1','4')
      ORDER BY `ordering` ASC
  11. SELECT m.id,m.menutype,m.title,m.alias,m.note,m.path AS route,m.link,m.type,m.level,m.language,m.browserNav,m.access,m.params,m.home,m.img,m.template_style_id,m.component_id,m.parent_id,e.element AS component
      FROM `jos_menu` AS `m`
      LEFT JOIN jos_extensions AS e
      ON e.extension_id = m.component_id
      WHERE `m`.`published` = '1'
      AND `m`.`parent_id` > '0'
      AND `m`.`client_id` = '0'
      ORDER BY `m`.`lft` ASC
  12. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_wiki'
  13. SELECT jos_template_styles.id,jos_template_styles.home,jos_template_styles.template,jos_template_styles.params,jos_extensions.protected
      FROM `jos_template_styles`
      INNER JOIN jos_extensions
      ON jos_extensions.element = jos_template_styles.template
      WHERE `jos_template_styles`.`client_id` = '0'
      AND `jos_extensions`.`enabled` = '1'
      AND `jos_extensions`.`type` = 'template'
      AND jos_extensions.`client_id` = `jos_template_styles`.`client_id`
      ORDER BY `home` DESC
  14. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_tags'
  15. SELECT COUNT(jos_wiki_pages.id) AS count
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`scope` = 'site'
  16. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:WikiHtml'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  17. SELECT *
      FROM `jos_wiki_versions`
      WHERE `jos_wiki_versions`.`page_id` = '23'
      AND `jos_wiki_versions`.`version` = '1'
  18. SELECT element
      FROM `jos_extensions`
      WHERE folder='wiki'
      AND type='plugin'
      AND enabled=1
      AND element LIKE 'parser%'
      ORDER BY enabled DESC
      LIMIT 1
  19. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:WikiFormatting'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  20. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:WikiMacros'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  21. SELECT *
      FROM `jos_wiki_links`
      WHERE `jos_wiki_links`.`page_id` = '23'
  22. SELECT jos_tags_object.label,jos_tags.*
      FROM `jos_tags`
      INNER JOIN jos_tags_object
      ON jos_tags_object.tagid = jos_tags.id
      WHERE `jos_tags_object`.`tbl` = 'wiki'
      AND `jos_tags_object`.`objectid` = '23'
      AND `jos_tags`.`admin` NOT IN ('1')
      GROUP BY jos_tags_object.label,jos_tags.id
  23. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_search'
  24. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_users'
  25. SELECT m.id,m.title,m.module,m.position,m.content,m.showtitle,m.params,mm.menuid,e.protected
      FROM `jos_modules` AS `m`
      LEFT JOIN jos_modules_menu AS mm
      ON mm.moduleid = m.id
      LEFT JOIN jos_extensions AS e
      ON e.element = m.module
      AND e.client_id = m.client_id
      WHERE `m`.`published` = '1'
      AND `e`.`enabled` = '1'
      AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= '2024-05-13 08:28:26' )
      AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= '2024-05-13 08:28:26' )
      AND `m`.`access` IN ('1','1','4')
      AND `m`.`client_id` = '0'
      AND (`mm`.`menuid` = '86' OR `mm`.`menuid` <= '0' )
      ORDER BY `m`.`position` ASC,`m`.`ordering` ASC
  26. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_support'
  27. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_content'
  28. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_categories'
  29. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_newsletter'
  30. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_groups'
  31. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_projects'
  32. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_answers'
  33. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_collections'
  34. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_blog'
  35. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_resources'
  36. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_citations'
  37. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_kb'
  38. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_media'
  39. UPDATE `jos_session`
      SET `data` = '__default|a:10:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1715588906;s:18:\"session.timer.last\";i:1715588906;s:17:\"session.timer.now\";i:1715588906;s:24:\"session.client.forwarded\";s:13:\"18.224.66.196\";s:8:\"registry\";O:23:\"Hubzero\\Config\\Registry\":2:{s:7:\"\0*\0data\";O:8:\"stdClass\":1:{s:1:\"0\";s:7:\"session\";}s:9:\"separator\";s:1:\".\";}s:4:\"user\";C:17:\"Hubzero\\User\\User\":22:{a:1:{s:5:\"guest\";b:1;}}s:11:\"tracker.sid\";s:32:\"18d9b5c254e9566ba99c91eb39695f0d\";s:12:\"tracker.ssid\";s:32:\"18d9b5c254e9566ba99c91eb39695f0d\";s:12:\"tracker.rsid\";s:32:\"18d9b5c254e9566ba99c91eb39695f0d\";}',`time` = '1715588906',`ip` = '10.84.154.169'
      WHERE `session_id` = '18d9b5c254e9566ba99c91eb39695f0d'
  • onAfterInitialise Method plgSystemP3p::onAfterInitialise /core/plugins/system/p3p/p3p.php:21
  • onAfterInitialise Method plgSystemRemember::onAfterInitialise /core/plugins/system/remember/remember.php:20
  • onAfterInitialise Method plgSystemHubzero::onAfterInitialise /core/plugins/system/hubzero/hubzero.php:21
  • onAfterInitialise Method plgSystemXFeed::onAfterInitialise /core/plugins/system/xfeed/xfeed.php:21
  • onAfterInitialise Method plgSystemSupergroup::onAfterInitialise /core/plugins/system/supergroup/supergroup.php:113
  • onAfterInitialise Method plgSystemReferrerpolicy::onAfterInitialise /core/plugins/system/referrerpolicy/referrerpolicy.php:21
  • onAfterRoute Method plgSystemJquery::onAfterRoute /core/plugins/system/jquery/jquery.php:21
  • onAfterRoute Method plgSystemSpamjail::onAfterRoute /core/plugins/system/spamjail/spamjail.php:21
  • onAfterRoute Method plgSystemIncomplete::onAfterRoute /core/plugins/system/incomplete/incomplete.php:21
  • onAfterRoute Method plgSystemUnconfirmed::onAfterRoute /core/plugins/system/unconfirmed/unconfirmed.php:21
  • onAfterRoute Method plgSystemUnapproved::onAfterRoute /core/plugins/system/unapproved/unapproved.php:21
  • onAfterRoute Method plgSystemPassword::onAfterRoute /core/plugins/system/password/password.php:21
  • onAfterDispatch Method plgSystemMobile::onAfterDispatch /core/plugins/system/mobile/mobile.php:22
  • onAfterDispatch Method plgSystemDebug::onAfterDispatch /core/plugins/system/debug/debug.php:60
  • onAfterDispatch Method PlgSystemHighlight::onAfterDispatch /core/plugins/system/highlight/highlight.php:25
  • onAfterRender Method plgSystemSef::onAfterRender /core/plugins/system/sef/sef.php:21