Showing HTML tags in quiz questions about HTML

Showing HTML tags in quiz questions about HTML

von Len Schoof -
Anzahl Antworten: 4
I am trying to create a quiz about HTML tags. Unfortunately, the code doesn't show. Can someone tell me how to overcome this problem?
Eg In the question,

"What is the correct HTML tag for inserting a line break?"
A) <li>
B) <br>
C) <lb>
D) <break>

the choices are not visible. I presume moodle is looking at them as code. The attachment shows how it appears in preview.
Thanks
Len
Anhang Dump.jpg
Als Antwort auf Len Schoof

Re: Showing HTML tags in quiz questions about HTML

von Tim Hunt -
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
It is a feature that you can type XHTML into mutiple choice answers, and use it to apply formatting. Therefore you need to enter &lt;br>, etc.
Als Antwort auf Tim Hunt

Re: Showing HTML tags in quiz questions about HTML

von Louis Fleming -
Running into the same problem here - is there some source to show what to enter for the various HTML commands as I have hit a few by trial and error.