Test questions
Last Updated: 20th Mar 2020By Jolyon Ralph
You can now add self-test questions to your articles in mindat.org - here's the markup code for a simple question
<question>1. Which of these is not a mineral?
<answer>Diamond</answer>
<answer>Quartz</answer>
<answer correct>Cheese</answer>
</question>
If there are more than one correct answer, and any single answer is correct, you can simply add them like this:
<question>2. Choose any mineral that contains essential iron
<answer correct>Pyrite</answer>
<answer>Calcite</answer>
<answer correct>Siderite</answer>
<answer>Fluorite</answer>
<answer>Gypsum</answer>
<answer>Cuprite</answer>
</question>
For a multi-choice question, where all correct answers must be selected
<question multi='all'>3.Which of these statements is/are correct?
<answer>Quartz is harder than topaz</answer>
<answer correct>Topaz has perfect cleavage</answer>
<answer>Quartz has perfect cleavage</answer>
<answer correct>Quartz has Conchoidal fracture</answer>
</question>
Finally, to add the 'submit' button to calculate results,
<score>Click here to calculate your results</score>
Try it above!
<question>1. Which of these is not a mineral?
<answer>Diamond</answer>
<answer>Quartz</answer>
<answer correct>Cheese</answer>
</question>
1. Which of these is not a mineral?
If there are more than one correct answer, and any single answer is correct, you can simply add them like this:
<question>2. Choose any mineral that contains essential iron
<answer correct>Pyrite</answer>
<answer>Calcite</answer>
<answer correct>Siderite</answer>
<answer>Fluorite</answer>
<answer>Gypsum</answer>
<answer>Cuprite</answer>
</question>
2. Choose any mineral that contains essential iron
For a multi-choice question, where all correct answers must be selected
<question multi='all'>3.Which of these statements is/are correct?
<answer>Quartz is harder than topaz</answer>
<answer correct>Topaz has perfect cleavage</answer>
<answer>Quartz has perfect cleavage</answer>
<answer correct>Quartz has Conchoidal fracture</answer>
</question>
3.Which of these statements is/are correct?
Finally, to add the 'submit' button to calculate results,
<score>Click here to calculate your results</score>
Try it above!
Article has been viewed at least 716 times.