Errors found while checking this document as XHTML 1.0 Strict!

Result: 14 Errors
:
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: 14 Errors

  1. Error Line 121, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2>Paste text in from other Applications</h2>

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  2. Error Line 122, Column 20: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <div class="indent">

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  3. Error Line 128, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2>Inserting images <img alt="" src="lib/editor/htmlarea/images/ed_image.gif" …

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  4. Error Line 129, Column 20: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <div class="indent">

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  5. Error Line 133, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2>Inserting Tables <img alt="" src="lib/editor/htmlarea/images/insert_table.g…

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  6. Error Line 134, Column 20: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <div class="indent">

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  7. Error Line 136, Column 6: end tag for "p" omitted, but OMITTAG NO was specified
    </div>

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

  8. Info Line 135, Column 1: start tag was here
    <p>To add layout to your texts, you can use the "Insert Tables" button in the t…
  9. Error Line 138, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2>Inserting Links <img alt="" src="lib/editor/htmlarea/images/ed_link.gif" />…

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  10. Error Line 139, Column 20: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <div class="indent">

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  11. Error Line 144, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2>Inserting smilies (emoticons) <img alt="" src="pix/s/smiley.gif" class="ico…

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  12. Error Line 145, Column 20: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <div class="indent">

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  13. Error Line 151, Column 33: there is no attribute "align"
            <table border="0" align="center" cellpadding="10">

    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.

  14. Error Line 155, Column 24: there is no attribute "nowrap"
                <td nowrap="nowrap"><code>:-)</code></td>

    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.

  15. Error Line 264, Column 6: end tag for "p" omitted, but OMITTAG NO was specified
    </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 ">".

  16. Info Line 119, Column 1: start tag was here
    <p>In addition to formatting text, this editor provides a number of extra featu…

↑ 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>About the Richtext HTML editor</h1>
  101. <p>Availability: <b>
  102. O editor HTML foi desactivado no seu perfil de utilizador</b></p>
  103. <p>The Richtext HTML editor provides a word-processor interface embedded in your web page to allow you to edit text in an intuitive way, and produces normal HTML code.</p>
  104. <p>In addition to formatting text, this editor provides a number of extra features you may find useful.
  105. <h2>Paste text in from other Applications</h2>
  106. <div class="indent">
  107. <p>You can cut and paste rich text from other Windows applications such as Microsoft Word
  108. straight into this editor, and your formatting will be preserved. Just use the normal cut and paste
  109. menus in your web browser (or Control-C and Control-V).</p>
  110. </div>
  111. <h2>Inserting images <img alt="" src="lib/editor/htmlarea/images/ed_image.gif" /></h2>
  112. <div class="indent">
  113. <p>If you have images that are already published on a web site and accessible via a URL, you can include these images in your texts using the "Insert Image" button.</p>
  114. </div>
  115. <h2>Inserting Tables <img alt="" src="lib/editor/htmlarea/images/insert_table.gif" /></h2>
  116. <div class="indent">
  117. <p>To add layout to your texts, you can use the "Insert Tables" button in the toolbar.
  118. </div>
  119. <h2>Inserting Links <img alt="" src="lib/editor/htmlarea/images/ed_link.gif" /> /</h2>
  120. <div class="indent">
  121. <p>To make a new link, first type the text that you want to be a link. Then select it and click the link button in the toolbar. Type the URL you want to link to and it's done!</p>
  122. </div>
  123. <h2>Inserting smilies (emoticons) <img alt="" src="pix/s/smiley.gif" class="icon" /></h2>
  124. <div class="indent">
  125. <p>To embed these small icons in your text, click on the smiley icon in the toolbar. A dialog will pop up that allows you to select from the following smiley icons. (Alternatively, you can just type the corresponding code straight into your text and it will be converted later when your text is displayed).</p>
  126. <table border="1">
  127. <tr valign="top">
  128. <td>
  129. <table border="0" align="center" cellpadding="10">
  130. <tr>
  131. <td><img alt="" src="pix/s/smiley.gif" class="icon" /></td>
  132. <td>smile</td>
  133. <td nowrap="nowrap"><code>:-)</code></td>
  134. </tr>
  135. <tr>
  136. <td><img alt="" src="pix/s/biggrin.gif" class="icon" /></td>
  137. <td>big grin</td>
  138. <td nowrap="nowrap"><code>:-D</code></td>
  139. </tr>
  140. <tr>
  141. <td><img alt="" src="pix/s/wink.gif" class="icon" /></td>
  142. <td>wink</td>
  143. <td nowrap="nowrap"><code>;-)</code></td>
  144. </tr>
  145. <tr>
  146. <td><img alt="" src="pix/s/mixed.gif" class="icon" /></td>
  147. <td>mixed</td>
  148. <td nowrap="nowrap"><code>:-/</code></td>
  149. </tr>
  150. <tr>
  151. <td><img alt="" src="pix/s/thoughtful.gif" class="icon" /></td>
  152. <td>thoughtful</td>
  153. <td nowrap="nowrap"><code>V-.</code></td>
  154. </tr>
  155. <tr>
  156. <td><img alt="" src="pix/s/tongueout.gif" class="icon" /></td>
  157. <td>tongue out</td>
  158. <td nowrap="nowrap"><code>:-P</code></td>
  159. </tr>
  160. <tr>
  161. <td><img alt="" src="pix/s/cool.gif" class="icon" /></td>
  162. <td>cool</td>
  163. <td nowrap="nowrap"><code>B-)</code></td>
  164. </tr>
  165. <tr>
  166. <td><img alt="" src="pix/s/approve.gif" class="icon" /></td>
  167. <td>approve</td>
  168. <td nowrap="nowrap"><code>^-)</code></td>
  169. </tr>
  170. <tr>
  171. <td><img alt="" src="pix/s/wideeyes.gif" class="icon" /></td>
  172. <td>wide eyes</td>
  173. <td nowrap="nowrap"><code>8-)</code></td>
  174. </tr>
  175. <tr>
  176. <td><img alt="" src="pix/s/surprise.gif" class="icon" /></td>
  177. <td>surprise</td>
  178. <td nowrap="nowrap"><code>8-o</code></td>
  179. </tr>
  180. </table>
  181. </td>
  182. <td>
  183. <table border="0" align="center" cellpadding="10">
  184. <tr>
  185. <td><img alt="" src="pix/s/sad.gif" class="icon" /></td>
  186. <td>sad</td>
  187. <td nowrap="nowrap"><code>:-(</code></td>
  188. </tr>
  189. <tr>
  190. <td><img alt="" src="pix/s/shy.gif" class="icon" /></td>
  191. <td>shy</td>
  192. <td nowrap="nowrap"><code>8-.</code></td>
  193. </tr>
  194. <tr>
  195. <td><img alt="" src="pix/s/blush.gif" class="icon" /></td>
  196. <td>blush</td>
  197. <td nowrap="nowrap"><code>:-I</code></td>
  198. </tr>
  199. <tr>
  200. <td><img alt="" src="pix/s/kiss.gif" class="icon" /></td>
  201. <td>kisses</td>
  202. <td nowrap="nowrap"><code>:-X</code></td>
  203. </tr>
  204. <tr>
  205. <td><img alt="" src="pix/s/clown.gif" class="icon" /></td>
  206. <td>clown</td>
  207. <td nowrap="nowrap"><code>:o)</code></td>
  208. </tr>
  209. <tr>
  210. <td><img alt="" src="pix/s/blackeye.gif" class="icon" /></td>
  211. <td>black eye</td>
  212. <td nowrap="nowrap"><code>P-|</code></td>
  213. </tr>
  214. <tr>
  215. <td><img alt="" src="pix/s/angry.gif" class="icon" /></td>
  216. <td>angry</td>
  217. <td nowrap="nowrap"><code>8-[</code></td>
  218. </tr>
  219. <tr>
  220. <td><img alt="" src="pix/s/dead.gif" class="icon" /></td>
  221. <td>dead</td>
  222. <td nowrap="nowrap"><code>xx-P</code></td>
  223. </tr>
  224. <tr>
  225. <td><img alt="" src="pix/s/sleepy.gif" class="icon" /></td>
  226. <td>sleepy</td>
  227. <td nowrap="nowrap"><code>|-.</code></td>
  228. </tr>
  229. <tr>
  230. <td><img alt="" src="pix/s/evil.gif" class="icon" /></td>
  231. <td>evil</td>
  232. <td nowrap="nowrap"><code>}-]</code></td>
  233. </tr>
  234. </table>
  235. </td>
  236. </tr>
  237. </table>
  238. </div>
  239. </div><div class="closewindow">
  240. <form action="#"><div><input type="button" onclick="self.close();" value="Fechar esta janela" /></div></form></div>
  241. <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>
  242. <li><a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Ffile%3Drichtext.html">Validate HTML</a></li>
  243. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Ffile%3Drichtext.html">Section 508 Check</a></li>
  244. <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%3Ffile%3Drichtext.html">WCAG 1 (2,3) Check</a></li>
  245. </ul></div>
  246. </div>
  247. </div>
  248. </body>
  249. </html>

↑ Top