Any HTML tag (with CSS class)

This element is used to format text using HTML tags that are not normally supported by the course player, while also featuring classes for attached CSS files to recognise.

Any HTML tag (with CSS class)

(Click image to enlarge)

Highlight the text you want to be affected and then select the element from the right-hand list. The code will be placed in the content field.

You will need to manually replace 'tag' and 'className' with whichever HTML tag and CSS class you want to use.

Any HTML tag (with CSS class) code appears like this:

{tag tag.className|Text to be formatted}

Default instance of this code. This will have no effect.

{tag mark.red|Text to be formatted}

Example pictured above - in this instance, using the mark tag with CSS class 'red', with that class containing a color: #ff0000 setting in an attached style sheet.

NOTES:
  • You will need an attached Cascading Style Sheet (CSS) loaded on the same page as this content for the coding to work. For info on how to do this, see Load but do not parse external file.