allowing the administrator to enter invalid HTML into a label

Re: allowing the administrator to enter invalid HTML into a label

by Mauno Korpelainen -
Number of replies: 0

It might be possible but then you take a risk to break html for any part of moodle (how do you control where invalid html is pasted on purpose or by mistake?)

A better idea could be to add that code to an external web page that may be in moodledata folder or somewhere else and show to content in moodle for example inside iframe tags.

In editor press <> and try

<iframe src="http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html" width="500" height="500"></iframe>