Text Formatting

[HOME] [NEXT]
Here's the good news: Contiki only parses a handful of markup tags, so formatting your web pages for Contiki is simplicity itself! Anyone with even a passing aquaintance with HTML can quickly become an expert.

"BR" Line Break
The line break tag does pretty much what you'd expect it to.

"P" Paragraph
Renders a blank line before and after the paragraph. Requires an additional "BR" if followed by anything other than another paragraph, I find sticking with "BR" to be easier and more predictable.

"CENTER" Centered Text Centers text on the screen (like this)... centered text is placed on it's own line, so additional "BR"s are unnecessary.

"H1","H2","H3" Headings
Contiki adds a blank line before and after the Heading text. Nothing you can't do with "BR"!

"UL","OL" Lists
Contiki doesn't differentiate between "ordered" and "unordered" lists, both are presented as an unindented, bulleted list (using asterisks as bullets). Usually not worth the extra markup ;-)

Preformatted Text
Like most browsers, Contiki ignores multiple natural spaces, however "PRE" tags are not currently supported. See the section on ASCII Art & Diagrams for instruction on creating "preformatted" text.

A Notes About Hyperlinks
This is one area where you'll have to be careful, especially with tight layouts. Contiki has a nasty habit of arbitrarily adding or removing internal spaces to linked text, it will also add a leading and/or trailing space if one does not exist naturally. Watch out for this, it can play havoc with your pages!
There you have it! Anyone with a text editor and an IQ over 80 can become a Contiki Content Developer ;-)

One last thing: don't use tables to format text... Contiki displays each cell on its own line, so what you see in most browsers is NOT what you'll see in Contiki.
[HOME] [NEXT]