Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HTML and "lang" tagging

  • {-} : Is substituted for ­, a soft hyphen that only appears when needed.

  • {nbsp} : Is substituted for a non-breaking space when displayed.

  • {hr} : Horizontal rule.

  • {details}{summary}{/summary}{/details} : An easy way to create an HTML 5 Details/Summary expandable section in your page. IMPORTANT: {details}{summary}{/summary} must all be on one line (it is ok if the line wraps). The rest of the details can be on multiple lines followed by the {/details}. This is an experimental feature that may result in invalid HTML but it works. You can optionally add a CSS class name to the opening details tag. Example: {details faq-class}

Back to section / Back to course button

Help students navigate your site by implementing this handy-dandy BACK button. Works at both the section and activity level.

Code Block
    <p style="float:right;"><a href="{wwwroot}/course/view.php?id={courseid}&amp;section={sectionid}" class="btn btn-outline" style="font-size:14px;">Go Back</a></p>

If you are in a section and want to go directly back to the main course outline but scroll down to the current section, try this:

Code Block
    <p style="float:right;"><a href="{wwwroot}/course/view.php?id={courseid}#section-{sectionid}" class="btn btn-outline" style="font-size:14px;">Back to course outline</a></p>

Troubleshooting Tips

The only comparison operators currently supported are 'is', 'not', 'contains' and 'in'.

...