Obojobo

Obojobo

  • Authors
  • Developers
  • GitHub

› Authors Section Topics

Getting Started

  • Writing Your First Obojobo Document
  • OboXML Guide

Writing Assessments

  • Creating Your First Assessment
  • Assessment Scoring
  • Score Results Text

Assessments How To

  • Adding a Pre-Test
  • Displaying Remaining Attempts
  • Extra Credit & Penalties
  • Limiting Attempts
  • Locking Navigation
  • LTI Score Passback
  • New Questions for each Attempt
  • Post-Attempt Pages
  • Reviews & Question Feedback
  • Threshold Scoring
  • Triggers and Actions
  • Variables

OboXML Guide

The OboXML format has HTML-like tags for text content called OboHTML.

Here is a complete list of the OboHTML tags available in ObojoboDraft by default.

Paragraph Text

Tags: <p></p>

Paragraphs cannot contain other tags, just text.

<p>Hello world</p>

You can format text using a subset of HTML tags, for example:

<p>Some <b>bold and <i>italic</i> text.</b></p>

Headings

Tags: <h1></h1>, <h2></h2> … <h6></h6>

Heading elements will have larger, more visible text used to break up content sections. H1 is the highest, or most important, and h6 being the least.

H2 tags within content pages will be displayed in the navigation.

It’s generally advised to use Heading tags following the guidelines for HTML:

  • Do not user lower level headings just to decrease font size
  • Avoid skipping levels, start at h1 then h2 and so on.
  • Avoid using h1 more than once per page
<h1>Main heading</h1>

Lists

Tags: <ol></ol>, <ul></ul>, <li></li>

Unlike HTML, nesting lists is not possible. Instead, Obojobo uses the indent property to specify depth.

<ol>
  <li>First item</li>
  <li indent="2">Second item</li>
</ol>

Preformatted Text / Code

Tags: <pre></pre>

Preformatted text will maintain its spacing, indents, and line returns for use where spacing and font width are important.

<pre>
function F(x) {
  return x + G(x);
}
</pre>

Horizontal Rules

Tags: <hr />

This tag will insert a line acting as a break between nodes on a page.

<hr />

Tables

Tags: <table></table>, <tr></tr>, <th></th>, <td></td>

<table>
  <tr>
    <th>Heading 1</th>
    <th>Heading 2</th>
  </tr>
  <tr>
    <td>One</td>
    <td>Two</td>
  </tr>
</table>

Images

Tags: <img />

Using the size value of small, medium, or large is suggested for most images.

<img src="http://lorempixel.com/640/480/city" size="small" />

Images also support width and height attributes. Do not use the size attribute when using height and/or width.

<img src="http://lorempixel.com/640/480/city" width="500" />

Image Captions (Figures)

Tags: <figure></figure>, <figcaption></figcaption>

Figure syntax allows you to quickly create a figure with a caption. Both <img> and <figcaption> tags must be included.

Tag order is ignored - captions are always displayed below an image.

<figure>
  <img src="http://lorempixel.com/640/480/city" size="small" />
  <figcaption>This is a small image</figcaption>
</figure>
  • Paragraph Text
  • Headings
  • Lists
  • Preformatted Text / Code
  • Horizontal Rules
  • Tables
  • Images
  • Image Captions (Figures)
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida