This document was successfully checked as XHTML 1.0 Strict!

Result: Passed
:
Modified:(undefined)
Server:Apache/2.2.16 (Debian)
Size:(undefined)
Content-Type:text/html
: utf-8
: XHTML 1.0 Strict
Root Element: html
Root Namespace: http://www.w3.org/1999/xhtml
Options

Help on the options is available.

Congratulations

The document located at <http://www.di.uevora.pt/moodle/help.php?module=quiz&file=questiontypes.html> was successfully checked as XHTML 1.0 Strict. This means that the resource in question identified itself as "XHTML 1.0 Strict" and that we successfully performed a formal validation of it. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

"valid" Icon(s) on your Web page

To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:

Valid XHTML 1.0 Strict
  <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
      src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
  </p>
  

A full list of icons, with links to alternate formats and colors, is available: If you like, you can download a copy of the icons to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server.

Linking to this result

If you would like to create a link to this page (i.e., this validation result) to make it easier to revalidate this page in the future or to allow others to validate your page, the URI is <http://validator.w3.org/check?uri=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dquestiontypes.html;ss=1;verbose=1> (or you can just add the current page to your bookmarks or hotlist).

Validating CSS Style Sheets

If you use CSS in your document, you can check it using the W3C CSS Validation Service.

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standard/styles.php" />
  6. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standardwhite/styles.php" />
  7. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/yui/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/yui/event/event-min.js"></script><script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/yui/connection/connection-min.js"></script><script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/swfobject/swfobject.js"></script><script type="text/javascript">
  8. //<![CDATA[
  9. var flashversion = swfobject.getFlashPlayerVersion();
  10. YAHOO.util.Connect.asyncRequest('GET','http://www.di.uevora.pt/moodle/login/environment.php?sesskey=cQiajZxeJ8&flashversion='+flashversion.major+'.'+flashversion.minor+'.'+flashversion.release);
  11. //]]>
  12. </script>
  13. <!--[if IE 7]>
  14. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standard/styles_ie7.css" />
  15. <![endif]-->
  16. <!--[if IE 6]>
  17. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standard/styles_ie6.css" />
  18. <![endif]-->
  19. <meta name="keywords" content="moodle, Help " />
  20. <title>Help</title>
  21. <link rel="shortcut icon" href="http://www.di.uevora.pt/moodle/theme/standardwhite/favicon.ico" />
  22. <!--<style type="text/css">/*<![CDATA[*/ body{behavior:url(http://www.di.uevora.pt/moodle/lib/csshover.htc);} /*]]>*/</style>-->
  23. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/javascript-static.js"></script>
  24. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/javascript-mod.php"></script>
  25. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/overlib/overlib.js"></script>
  26. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/overlib/overlib_cssstyle.js"></script>
  27. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/cookies.js"></script>
  28. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/ufo.js"></script>
  29. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/dropdown.js"></script>
  30. <script type="text/javascript" defer="defer">
  31. //<![CDATA[
  32. setTimeout('fix_column_widths()', 20);
  33. //]]>
  34. </script>
  35. <script type="text/javascript">
  36. //<![CDATA[
  37. function openpopup(url, name, options, fullscreen) {
  38. var fullurl = "http://www.di.uevora.pt/moodle" + url;
  39. var windowobj = window.open(fullurl, name, options);
  40. if (!windowobj) {
  41. return true;
  42. }
  43. if (fullscreen) {
  44. windowobj.moveTo(0, 0);
  45. windowobj.resizeTo(screen.availWidth, screen.availHeight);
  46. }
  47. windowobj.focus();
  48. return false;
  49. }
  50. function uncheckall() {
  51. var inputs = document.getElementsByTagName('input');
  52. for(var i = 0; i < inputs.length; i++) {
  53. inputs[i].checked = false;
  54. }
  55. }
  56. function checkall() {
  57. var inputs = document.getElementsByTagName('input');
  58. for(var i = 0; i < inputs.length; i++) {
  59. inputs[i].checked = true;
  60. }
  61. }
  62. function inserttext(text) {
  63. text = ' ' + text + ' ';
  64. if ( opener.document.forms['theform'].message.createTextRange && opener.document.forms['theform'].message.caretPos) {
  65. var caretPos = opener.document.forms['theform'].message.caretPos;
  66. caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
  67. } else {
  68. opener.document.forms['theform'].message.value += text;
  69. }
  70. opener.document.forms['theform'].message.focus();
  71. }
  72. function getElementsByClassName(oElm, strTagName, oClassNames){
  73. var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
  74. var arrReturnElements = new Array();
  75. var arrRegExpClassNames = new Array();
  76. if(typeof oClassNames == "object"){
  77. for(var i=0; i<oClassNames.length; i++){
  78. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)"));
  79. }
  80. }
  81. else{
  82. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"));
  83. }
  84. var oElement;
  85. var bMatchesAll;
  86. for(var j=0; j<arrElements.length; j++){
  87. oElement = arrElements[j];
  88. bMatchesAll = true;
  89. for(var k=0; k<arrRegExpClassNames.length; k++){
  90. if(!arrRegExpClassNames[k].test(oElement.className)){
  91. bMatchesAll = false;
  92. break;
  93. }
  94. }
  95. if(bMatchesAll){
  96. arrReturnElements.push(oElement);
  97. }
  98. }
  99. return (arrReturnElements)
  100. }
  101. //]]>
  102. </script>
  103. </head>
  104. <body class=" course-1 dir-ltr lang-en_utf8" id="help">
  105. <div id="page">
  106. <!-- END OF HEADER -->
  107. <div id="content" class=" clearfix"><div class="box generalbox generalboxcontent"><h1>Creating a new question</h1>
  108. <p>You can add a variety of different types of questions to a category:</p>
  109. <h2>Multiple Choice</h2>
  110. <div class="indent">
  111. <p>In response to a question (that may include a image) the respondent
  112. chooses from multiple answers. There are two types of multiple choice
  113. questions - single answer and multiple answer.</p>
  114. <p class="moreinfo"><a href="help.php?file=multichoice.html&amp;module=quiz">More info about Multiple Choice questions</a></p>
  115. </div>
  116. <h2>Short Answer</h2>
  117. <div class="indent">
  118. <p>In response to a question (that may include a image), the respondent
  119. types a word or phrase. There may several possible correct answers,
  120. with different grades. Answers may or may not be sensitive to case.
  121. </p>
  122. <p class="moreinfo"><a href="help.php?file=shortanswer.html&amp;module=quiz">More info about Short Answer questions</a></p>
  123. </div>
  124. <h2>Numerical</h2>
  125. <div class="indent">
  126. <p>From the student perspective, a numerical question looks just
  127. like a short-answer question.
  128. The difference is that numerical answers are allowed
  129. to have an accepted error. This allows a continuous range of answers
  130. to be set.
  131. </p>
  132. <p class="moreinfo"><a href="help.php?file=numerical.html&amp;module=quiz">More info about Numerical questions</a></p>
  133. </div>
  134. <h2>True/False</h2>
  135. <div class="indent">
  136. <p>In response to a question (that may include a image), the respondent
  137. selects from two options: True or False.
  138. </p>
  139. <p class="moreinfo"><a href="help.php?file=truefalse.html&amp;module=quiz">More info about True/False questions</a></p>
  140. </div>
  141. <h2>Matching</h2>
  142. <div class="indent">
  143. <p>A list of sub questions is provided, along with a list of answers. The
  144. respondent must "match" the correct answers with each question.
  145. </p>
  146. <p class="moreinfo"><a href="help.php?file=match.html&amp;module=quiz">More info about Matching questions</a></p>
  147. </div>
  148. <h2>Embedded Answers (Cloze)</h2>
  149. <div class="indent">
  150. <p>These very flexible questions consist of a passage of text (in Moodle format) that
  151. has various answers embedded within it, including multiple choice,
  152. short answers and numerical answers.
  153. </p>
  154. <p class="moreinfo"><a href="help.php?file=multianswer.html&amp;module=quiz">More info about Embedded Answers questions</a></p>
  155. </div>
  156. <h2>Random Short-Answer Matching</h2>
  157. <div class="indent">
  158. <p>From the student perspective, this looks just like a Matching question.
  159. The difference is that the subquestions are drawn randomly from Short Answer questions
  160. in the current category.
  161. </p>
  162. <p class="moreinfo"><a href="help.php?file=randomsamatch.html&amp;module=quiz">More info about Matching questions</a></p>
  163. </div>
  164. <h2>Random</h2>
  165. <div class="indent">
  166. <p>A Random question in a quiz is replaced by a randomly-chosen question
  167. from the category that was set.
  168. </p>
  169. <p class="moreinfo"><a href="help.php?file=random.html&amp;module=quiz">More info about Random questions</a></p>
  170. </div>
  171. <h2>Description</h2>
  172. <div class="indent">
  173. <p>This is not a real question. It simply prints some text (and possibly graphics)
  174. without requiring an answer. This can be used to provide some information to
  175. be used by a following group of questions, for example.
  176. </p>
  177. <p class="moreinfo"><a href="help.php?file=description.html&amp;module=quiz">More info about Description questions</a></p>
  178. </div>
  179. <h2>Calculated</h2>
  180. <div class="indent">
  181. <p>Calculated questions offer a way to create individual numerical questions by the
  182. use of wildcards that are substituted with individual values when the quiz is taken.
  183. </p>
  184. <p class="moreinfo"><a href="help.php?file=calculated.html&amp;module=quiz">More info about Calculated questions</a></p>
  185. </div>
  186. <h2>Essay</h2>
  187. <div class="indent">
  188. <p>In response to a question (that may include an image) the respondent writes an answer in essay format.</p>
  189. <p class="moreinfo"><a href="help.php?file=essay.html&amp;module=quiz">More info about Essay questions</a></p>
  190. </div></div><div class="closewindow">
  191. <form action="#"><div><input type="button" onclick="self.close();" value="Close this window" /></div></form></div>
  192. <p class="helpindex"><a href="help.php?file=index.html">Index of all help files</a></p></div><div id="footer"><hr /><p class="helplink"></p> <div class="validators"><ul>
  193. <li><a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dquestiontypes.html">Validate HTML</a></li>
  194. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dquestiontypes.html">Section 508 Check</a></li>
  195. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;url1=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dquestiontypes.html">WCAG 1 (2,3) Check</a></li>
  196. </ul></div>
  197. </div>
  198. </div>
  199. </body>
  200. </html>

↑ Top