Error found while checking this document as XHTML 1.0 Strict!

Result: 1 Error
:
Modified:(undefined)
Server:Apache
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.

↑ Top

Validation Output: 1 Error

  1. Error Line 122, Column 68: end tag for "p" omitted, but OMITTAG NO was specified
    …ss bar can be modified in mod/lesson/styles.php.</div><div class="closewindow">

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

  2. Info Line 121, Column 1: start tag was here
    <p>Note: the default styles for the progress bar are not impressive ;)  All of …

↑ 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="pt" xml:lang="pt">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/standard/styles.php" />
  6. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/formal_white/styles.php" />
  7. <!--[if IE 7]>
  8. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/standard/styles_ie7.css" />
  9. <![endif]-->
  10. <!--[if IE 6]>
  11. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/standard/styles_ie6.css" />
  12. <![endif]-->
  13. <meta name="keywords" content="moodle, Ajuda " />
  14. <title>Ajuda</title>
  15. <link rel="shortcut icon" href="http://aulas.esec-acf.pt/theme/formal_white/favicon.ico" />
  16. <!--<style type="text/css">/*<![CDATA[*/ body{behavior:url(http://aulas.esec-acf.pt/lib/csshover.htc);} /*]]>*/</style>-->
  17. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/javascript-static.js"></script>
  18. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/javascript-mod.php"></script>
  19. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/overlib/overlib.js"></script>
  20. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/overlib/overlib_cssstyle.js"></script>
  21. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/cookies.js"></script>
  22. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/ufo.js"></script>
  23. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/dropdown.js"></script>
  24. <script type="text/javascript" defer="defer">
  25. //<![CDATA[
  26. setTimeout('fix_column_widths()', 20);
  27. //]]>
  28. </script>
  29. <script type="text/javascript">
  30. //<![CDATA[
  31. function openpopup(url,name,options,fullscreen) {
  32. fullurl = "http://aulas.esec-acf.pt" + url;
  33. windowobj = window.open(fullurl,name,options);
  34. if (fullscreen) {
  35. windowobj.moveTo(0,0);
  36. windowobj.resizeTo(screen.availWidth,screen.availHeight);
  37. }
  38. windowobj.focus();
  39. return false;
  40. }
  41. function uncheckall() {
  42. void(d=document);
  43. void(el=d.getElementsByTagName('INPUT'));
  44. for(i=0;i<el.length;i++) {
  45. void(el[i].checked=0);
  46. }
  47. }
  48. function checkall() {
  49. void(d=document);
  50. void(el=d.getElementsByTagName('INPUT'));
  51. for(i=0;i<el.length;i++) {
  52. void(el[i].checked=1);
  53. }
  54. }
  55. function inserttext(text) {
  56. text = ' ' + text + ' ';
  57. if ( opener.document.forms['theform'].message.createTextRange && opener.document.forms['theform'].message.caretPos) {
  58. var caretPos = opener.document.forms['theform'].message.caretPos;
  59. caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
  60. } else {
  61. opener.document.forms['theform'].message.value += text;
  62. }
  63. opener.document.forms['theform'].message.focus();
  64. }
  65. function getElementsByClassName(oElm, strTagName, oClassNames){
  66. var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
  67. var arrReturnElements = new Array();
  68. var arrRegExpClassNames = new Array();
  69. if(typeof oClassNames == "object"){
  70. for(var i=0; i<oClassNames.length; i++){
  71. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)"));
  72. }
  73. }
  74. else{
  75. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"));
  76. }
  77. var oElement;
  78. var bMatchesAll;
  79. for(var j=0; j<arrElements.length; j++){
  80. oElement = arrElements[j];
  81. bMatchesAll = true;
  82. for(var k=0; k<arrRegExpClassNames.length; k++){
  83. if(!arrRegExpClassNames[k].test(oElement.className)){
  84. bMatchesAll = false;
  85. break;
  86. }
  87. }
  88. if(bMatchesAll){
  89. arrReturnElements.push(oElement);
  90. }
  91. }
  92. return (arrReturnElements)
  93. }
  94. //]]>
  95. </script>
  96. </head>
  97. <body class=" course-1 notloggedin dir-ltr lang-pt_utf8" id="help">
  98. <div id="page">
  99. <!-- END OF HEADER -->
  100. <div id="content"><div class="box generalbox generalboxcontent"><h1>Progress Bar</h1>
  101. <p>Display a progress bar at the bottom of the Lesson.
  102. Currently, the progress bar is most accurate with a linear Lesson.</p>
  103. <p>While calculating the percent completed, Branch Tables and Question pages that
  104. are answered correctly count toward Lesson
  105. progress. While calculating the total number of pages in the Lesson,
  106. clusters and pages within clusters only count as a single page and End of Cluster and End of Branch
  107. Table pages are excluded. All other pages count toward the total number of pages in the Lesson.</p>
  108. <p>Note: the default styles for the progress bar are not impressive ;) All of the styles (eg: colors, background images, etc)
  109. for the progress bar can be modified in mod/lesson/styles.php.</div><div class="closewindow">
  110. <form action="#"><div><input type="button" onclick="self.close();" value="Fechar esta janela" /></div></form></div>
  111. <p class="helpindex"><a href="help.php?file=index.html">Índice de todos os ficheiros de ajuda</a></p></div><div id="footer"><p class="helplink"></p><hr /> <div class="validators"><ul>
  112. <li><a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%26file%3Dprogressbar.html">Validate HTML</a></li>
  113. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%26file%3Dprogressbar.html">Section 508 Check</a></li>
  114. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%26file%3Dprogressbar.html">WCAG 1 (2,3) Check</a></li>
  115. </ul></div>
  116. </div>
  117. </div>
  118. </body>
  119. </html>

↑ Top