HTML
Using HTML in Wikidot Wiki Pages
Wikidot has no capability which allows you to paste raw HTML directly into your wiki pages. This includes HTML entities such as .
Alternatives
You can use wiki syntax to achieve most, if not everything, you want to achieve with HTML.
Tag Name | HTML | Wiki Syntax | Example | Notes |
---|---|---|---|---|
<b> | <b>bold</b> | **bold** | bold | This actually outputs the <strong> tag in HTML source. |
<div> | <div>div</div> | [[div]] [[/div]] | none | Wikidot inserts a <p> automatically in divs. |
<h1> | <h1>heading 1</h1> | + heading 1 | none | |
<h2> | <h2>heading 2</h2> | ++ heading 2 | none | |
<h3> | <h3>heading 3</h3> | +++ heading 3 | none | |
<h4> | <h4>heading 4</h4> | ++++ heading 4 | none | |
<h5> | <h5>heading 5</h5> | +++++ heading 5 | none | |
<h6> | <h6>heading 6</h6> | ++++++ heading 6 | none | |
<span> | <span>span</span> | [[span]]span[[/span]] | span | |
<li> | ||||
<ol> | See <li> | |||
<strong> | <strong>strong</strong> | **strong** | strong | This actually outputs the <strong> tag in HTML source. |
<tt> | <tt>typewriter text</tt> | {{typewriter text}} | typewriter text |
Displaying HTML Source
HTML Source can be displayed in a wiki page using a code box.
[[code type="html"]]
<html>
<head>
<title> My HTML Source </title>
</head>
<body>
<p>A paragraph!</p>
</body>
</html>
[[/code]]
The above will look like this :
<html> <head> <title> My HTML Source </title> </head> <body> <p>A paragraph!</p> </body> </html>
Related Pages
Categories: Content : Wiki Guide : Wiki Syntax |