Showing HTML tags in quiz questions about HTML

Showing HTML tags in quiz questions about HTML

par Len Schoof,
Nombre de réponses : 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
Annexe Dump.jpg
Moyenne des évaluations: -
En réponse à Len Schoof

Re: Showing HTML tags in quiz questions about HTML

par Tim Hunt,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar 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.
En réponse à Tim Hunt

Re: Showing HTML tags in quiz questions about HTML

par 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.