DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:html [2016-09-07 03:24] – Formatting adjustments 216.249.119.7faq:html [2023-10-20 19:36] (current) Klap-in
Line 1: Line 1:
-====== HTML does not work ======+~~NOTOC~~ 
 +====== Why does the HTML option not work======
  
 :?: I have changed the [[config:htmlok]] config setting to allow HTML code but it doesn't work. My ''../conf/local.php'' file looks like: :?: I have changed the [[config:htmlok]] config setting to allow HTML code but it doesn't work. My ''../conf/local.php'' file looks like:
  
-  $conf['htmlok'     = 1;+  $conf['htmlok'] = 1; 
 +   
 +===== Release 2023-04-04 “Jack Jackrum” and after ===== 
 +   
 +:!: This feature is completely removed for security reasons. If you need this feature you need to install the [[plugin:htmlok|htmlok]] Plugin (or similar).
  
-:!: Read the [[:wiki:syntax#embedding_html_and_php|syntax]] page again: //"You can embed raw HTML code into your documents by using the HTML tags."//+===== Before 2023-04-04 “Jack Jackrum” ===== 
 + 
 +You can embed raw HTML code into your documents by using the HTML tags. See also the 'Embedding HTML and PHP' section of the ''wiki:syntax'' page of your wiki.
      
-So to embed HTML you need to enclose the HTML with ''%%<html></html>%%'' (for inline HTML) or ''%%<HTML></HTML>%%'' (for block HTML). A little example:+So to embed HTML you need to enclose the HTML with''%%<html></html>%%'' (for inline HTML) or ''%%<HTML></HTML>%%'' (for block HTML).  
 + 
 +A little example:
  
   <html><strong>This is my bold text</strong></html>   <html><strong>This is my bold text</strong></html>
 +  
 +===== Is HTML really needed? =====
 +
 +Before activating [[plugin:htmlok|htmlok]] or similar plugins you should ask yourself what goal you want to achieve.
 +
 +Simply enabling PHP or HTML in wiki pages causes security problems. However, many tasks that are supposedly only solvable with HTML can be solved risk-free with the help of other plugins.
 +
 +==== Here are some alternatives listed by function: ====
 +
 +
 +=== Styling ===
 +
 +  * [[plugin:wrap|Wrap Plugin]]
 +  * [[plugin:adhoctags|Ad-Hoc Tags Plugin]]
 +    * [[plugin:adhoctables|Ad-Hoc Tables Plugin]]
 +    * [[plugin:adhocwrap|Ad-Hoc Wrap Plugin]]
 +    * [[plugin:adhocmathml|Ad-Hoc MathML Plugin]]
 +
 +=== Embedding ===
 +
 +  * [[plugin:vshare|Video Share Plugin]]
 +  * [[plugin:iframe|iframe Plugin]]
 +
 +=== Image Maps ===
 +
 +  * [[plugin:imapmarkers|imapmarkers Plugin]]
 +
 +=== Meta data ===
 +
 +  * [[plugin:meta|Meta Plugin]]
 +
 +=== Other ways ===
 +
 +  * Scripting: use the possibilities of the [[devel:javascript|userscript.js]]
 +  * Styling: use the possibilities of the [[devel:css#user_styles|userstyle.css]]
 +
  
faq/html.1473211457.txt.gz · Last modified: 2016-09-07 03:24 by 216.249.119.7

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki