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 113, Column 10: there is no attribute "align"
    <p align="center"><strong>Marcas disponíveis</strong></p>

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

↑ 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"><!-- $Id: tags.html,v 1.1 2008/01/31 02:49:13 villate Exp $ -->
  101. <p align="center"><strong>Marcas disponíveis</strong></p>
  102. <p>As marcas são sítios na predefinição que serão substituidos por campos
  103. ou botões quando as entradas forem vistas ou editadas.</p>
  104. <p>Os campos têm o formato seguinte: [[nome do campo]]</p>
  105. <p>Os botões têm o formato seguinte: ##algum botão ##</p>
  106. <p>Somente as marcas incluidas na lista de "Marcas disponíveis" poderão
  107. ser usadas na predefinição actual.</p></div><div class="closewindow">
  108. <form action="#"><div><input type="button" onclick="self.close();" value="Fechar esta janela" /></div></form></div>
  109. <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>
  110. <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%3Ddata%26file%3Dtags.html">Validate HTML</a></li>
  111. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Ddata%26file%3Dtags.html">Section 508 Check</a></li>
  112. <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%3Ddata%26file%3Dtags.html">WCAG 1 (2,3) Check</a></li>
  113. </ul></div>
  114. </div>
  115. </div>
  116. </body>
  117. </html>

↑ Top