I'm trying to display some HTML code (as an example for others to use)in my LO but when published the code is being displayed as web content (i.e. it interprets the HTML rather than displaying as pure text). I've tried using the code format style from the text editor, and using <code> tags in the HTML view but can't get it to work. Any suggestions?
<xmp>Wrap your code between </xmp> tags.
Or put your code inside <textarea></textarea> tags.
Or Convert all your ‘<‘ and ‘>’ to ‘<’ and ‘>’ respectively