XHTML tags

First-off, if you don't know XHTML but you know HTML, the differences are very small. Basically, some language purists added a character or two to some tags to make it work as XML. Most notably, you don't write <br>; instead, you write <br />.

Corbon supports all XHTML tags. XHTML tags are not limited to their use inside the tag: instead, they can be used anywhere in the document.


When using images or links, it is very important to understand how Corbon uses relative linking.

All links in Corbon are written starting from the root. All <img> or <a> tags use this convention.

This has implications when linking to files in the same subdirectory. Giving the name of that file without a path will result in Corbon linking to the root of the site. This is not what you want. Instead, prepend the name of the directory. Thus, if you are in the subdirectory animals, and you want to link to bears.html in the same subdirectory, you would write:

<a href="animals/bears.html">

Upon compilation, Corbon will remove the animals path to create a correct link.

The rationale behind this is that you should be able to link to any part of your site, not just parts that lie deeper in the site structure.


Because we can use standard XHTML, we can do pretty much everything. Imagine a file containing this:

This is <strong>important</strong>.

The resulting file will contain:

This is important.