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.