Quizes with html tags in the question

Quizes with html tags in the question

by Steven Priefer -
Number of replies: 3
I'm teaching about html and I want the students view multiple choice quiestions that show the html tags in the answers.  When I put the any thing in tags it disapears on the actual quiz..
Average of ratings: -
In reply to Steven Priefer

Re: Quizes with html tags in the question

by Przemyslaw Stencel -
Just an idea - have you tried using &lt; and &gt; instead of < and > ?
In reply to Przemyslaw Stencel

Re: Quizes with html tags in the question

by Steven Priefer -

Thank you.  It seems to work just fine.  but could you please tell what &lt;HTML&gt; those mean and why they worked.

In reply to Steven Priefer

Re: Quizes with html tags in the question

by Hans de Zwart -
Anything betwee & and ; is a HTML character code. The lt and gt stand for lesser than (<) and greater than (>) respectively. Writing them this way makes the browser not interpret them as a HTML tag. That is why it works.