RML is based loosely around XHTML 1.0 and HTML 4.01, however element names are (mostly) open-ended in RML and can be used in any way that is logical for your application. All documents follow strict XML1.0 specification and where possible all libRocket elements follow their HTML equivalent.

RML maintains the core components of HTML4, including CSS and scripting (via the Python plugin). It provides a number of basic elements including input fields, radio buttons and check boxes as well as more complex enhancements such as templates and datagrids.


  1. Elements - The basic RML element.
  2. Documents - The HEAD and BODY of a document.
  3. Images - Referencing images.
  4. Style Sheets - Adding style to RML documents.
  5. Forms - User-input forms.
  6. Controls - Tabsets and window handles.
  7. Data Display - Data grids and data selects.
  8. Templates - Making all your windows look consistent.
  9. Events - Mouse clicks, movement, key presses, text entry.


  1. Element index
  2. HTML4 style sheet