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
Both sides next revision
faq:html [2016-09-07 03:24]
216.249.119.7 Formatting adjustments
faq:html [2020-02-26 20:08] (current)
kalen.williams
Line 1: Line 1:
-====== HTML does not work ======+====== 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:
Line 7: Line 7:
 :!: 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."// :!: 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."//
      
-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: The [[:wiki:syntax#embedding_html_and_php|above syntax page]] has examples of what block vs inline look like.
  
   <html><strong>This is my bold text</strong></html>   <html><strong>This is my bold text</strong></html>
  
faq/html.1473211457.txt.gz · Last modified: 2016-09-07 03:24 by 216.249.119.7