Showing HTML tags in quiz questions about HTML

Showing HTML tags in quiz questions about HTML

- Len Schoof の投稿
返信数: 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
添付 Dump.jpg
Len Schoof への返信

Re: Showing HTML tags in quiz questions about HTML

- Tim Hunt の投稿
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 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.
Tim Hunt への返信

Re: Showing HTML tags in quiz questions about HTML

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