RJLodigiani
A html document has at minimal this structure:
<html lang="en">
<head>
<title>My Title</title>
</head>
<body>
</body>
</html>
This is written in a text with HTML markup tag . It is read and rendered by the browser.
- Dokuwiki has its own syntax markup tag called a wiki syntax.
- Dokuwiki transforms it in a HTML syntax before sending it to the browser.
For instance, it transform its image wiki syntax
{{ :my-image.png | My Image }}
to the img HTML syntax
<img href="/my-image.png" alt="My Image"/>
A Dokuwiki document is transformed in HTML and is placed inside the html body
tag.
You therefore don't need to add the head
, meta
and body
HTML tag.
I deleted them and it should work.
If you want to see the whole HTML page in your browser, you can see it via the browser element tool. Click F12 and go to the element tab. They call it the DOM (Document Object Model) but this is just the HTML that shows you the browser.
Happy coding.