Errors found while checking this document as XHTML 1.0 Strict!

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

  1. Error Line 203, Column 6: document type does not allow element "hr" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <hr />

    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 205, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2><a id="image_links">Imagens com Apontadores</a></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>").

  3. Error Line 207, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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 214, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>[o motor de pesquisa do Google][google]</code></strong></p>

    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 216, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>![o logo do Google][logo]</code></strong></p>

    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 218, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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 223, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>[![o logo do Google][logo]][google]</code></strong></p>

    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>").

  8. Error Line 225, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  9. Error Line 229, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>[logo]: http://www.google.com/images/logo.gif</code></strong><…

    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 232, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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 237, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><a href="http://www.google.com/" title="Carregue para visitar Google.com"><i…

    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 239, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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 244, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2><a id="embedded">Inclusão de HTML</a></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>").

  14. Error Line 246, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  15. Error Line 254, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>* &lt;small&gt;texto pequeno&lt;/small&gt;</code></strong><br …

    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>").

  16. Error Line 258, Column 4: document type does not allow element "ul" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <ul>

    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>").

  17. Error Line 263, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  18. Error Line 270, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2><a id="preformatted">Código Pré formatado/a></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>").

  19. Error Line 270, Column 53: end tag for "a" omitted, but OMITTAG NO was specified
    <h2><a id="preformatted">Código Pré formatado/a></h2>

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

  20. Info Line 270, Column 5: start tag was here
    <h2><a id="preformatted">Código Pré formatado/a></h2>
  21. Error Line 272, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  22. Error Line 278, Column 5: document type does not allow element "pre" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <pre><code>&lt;p&gt;Um parágrafo em &lt;strong&gt;HTML&lt;/strong&gt; mostrado …

    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>").

  23. Error Line 281, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  24. Error Line 286, Column 5: document type does not allow element "pre" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <pre><code>print "Argumentos da linha de Comando: (@ARGV)\n";

    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>").

  25. Error Line 289, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  26. Error Line 296, Column 5: document type does not allow element "pre" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <pre><code>Normalmente esta palavra seria escrita em **negrito**.

    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>").

  27. Error Line 299, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  28. Error Line 303, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2><a id="special_char">Uso de Caracteres Especiais </a></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>").

  29. Error Line 305, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

  30. Error Line 314, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>\*asteriscos, não ênfase\* </code></strong></p>

    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>").

  31. Error Line 316, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>É apresentado como:</p>

    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>").

  32. Error Line 318, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>*asteriscos, não ênfase*</p>

    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>").

  33. Error Line 320, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>em vez de</p>

    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>").

  34. Error Line 322, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><strong><code>*ênfase, não asteriscos*</code></strong></p>

    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>").

  35. Error Line 324, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>o que dá:</p>

    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>").

  36. Error Line 326, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p><em>ênfase, não asteriscos</em></p>

    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>").

  37. Error Line 328, Column 4: document type does not allow element "h2" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <h2><a id="further">Referências</a></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>").

  38. Error Line 330, Column 3: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag
    <p>

    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>").

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

  40. Info Line 225, Column 1: start tag was here
    <p>
  41. Error Line 336, Column 6: end tag for "p" omitted, but OMITTAG NO was specified
    </div></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 ">".

  42. Info Line 201, Column 1: start tag was here
    <p> Todos estes métodos dão o mesmo exacto resultado:

↑ 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: advanced_markdown.html,v 1.4 2008/01/20 19:06:49 villate Exp $ -->
  101. <h2>Uso avançado do Markdown </h2>
  102. <div id="Main">
  103. <div class="article">
  104. <p>
  105. Esta secção estende a informação básica dada na secção intitulada
  106. "Texto no formato Markdown" para dar àqueles com exigências
  107. especiais a informação necessária para tirar máximo partido do
  108. Markdown. Se não reconhece, ou não precisa, o formato listado
  109. abaixo então pode ignorar esta secção e voltar
  110. a ela quando chegar a ser necessário.
  111. </p>
  112. <ul>
  113. <li><a href="#linebreaks">Quebras de Linha </a></li>
  114. <li><a href="#hr">Barras Horizontais </a></li>
  115. <li><a href="#image_links">Imagens com Apontadores</a></li>
  116. <li><a href="#embedded">Inclusão de HTML</a></li>
  117. <li><a href="#preformatted">Código Pré formatado</a></li>
  118. <li><a href="#special_char">Uso de Caracteres Especiais</a></li>
  119. <li><a href="#further">Referências</a></li>
  120. </ul>
  121. <h2><a id="linebreaks">Quebras de Linha </a></h2>
  122. <p>
  123. Em alguns textos, por exemplo, na poesia e no verso, é frequentemente
  124. necessário introduzir quebras de linha. Tentar fazer isso com a tecla
  125. &quot;enter&quot; não dará o efeito pretendido porque por omissão as
  126. linhas juntam-se para criar um parágrafo. Por exemplo:
  127. </p>
  128. <p><strong><code>
  129. As armas e os barões assinalados,<br />
  130. Que da ocidental praia Lusitana,<br />
  131. Por mares nunca de antes navegados,<br />
  132. Passaram ainda além da Taprobana,<br />
  133. Em perigos e guerras esforçados,<br />
  134. Mais do que prometia a força humana,<br />
  135. E entre gente remota edificaram<br />
  136. Novo Reino, que tanto sublimaram;
  137. </code></strong></p>
  138. <p>
  139. Se o texto acima fosse escrito como aparece, em linhas separadas, as
  140. mudanças de linha seriam ignoradas e o texto ficava assim:
  141. </p>
  142. <p>As armas e os barões assinalados, Que da ocidental praia Lusitana,
  143. Por mares nunca de antes navegados, Passaram ainda além da Taprobana,
  144. Em perigos e guerras esforçados, Mais do que prometia a força humana,
  145. E entre gente remota edificaram Novo Reino, que tanto sublimaram;</p>
  146. <p>Mas terminando cada linha com dois espaços, pode forçar uma quebra
  147. de linha como segue:</p>
  148. <p>As armas e os barões assinalados, <br />
  149. Que da ocidental praia Lusitana, <br />
  150. Por mares nunca de antes navegados, <br />
  151. Passaram ainda além da Taprobana, <br />
  152. Em perigos e guerras esforçados, <br />
  153. Mais do que prometia a força humana, <br />
  154. E entre gente remota edificaram <br />
  155. Novo Reino, que tanto sublimaram; </p>
  156. <h2><a id="hr">Barras Horizontais </a></h2>
  157. <p>
  158. As barras horizontais podem ser criadas colocando três ou mais
  159. asteriscos (*), hífenes (-) ou underscores (_) numa linha.
  160. </p>
  161. <p>Isto é suficiente: </p>
  162. <p><strong><code>***</code></strong></p>
  163. <p>
  164. mas pode adicionar espaços ou mais caracteres para tornar mais
  165. evidente a quebra de secção na janela de edição de texto; por exemplo:
  166. </p>
  167. <p><strong><code>* * * * *</code></strong></p>
  168. <p><strong><code>-------------------------</code></strong></p>
  169. <p><strong><code>_ _ _ _ _</code></strong></p>
  170. <p> Todos estes métodos dão o mesmo exacto resultado:
  171. <hr />
  172. <h2><a id="image_links">Imagens com Apontadores</a></h2>
  173. <p>
  174. No documento &quot;Texto no formato Markdown&quot; explica-se como
  175. criar apontadores e introduzir imagens. Pode não ser óbvio que estes
  176. podem ser combinados para criar imagens que sejam também apontadores
  177. que actuam quando se carregar neles:
  178. </p>
  179. <p><strong><code>[o motor de pesquisa do Google][google]</code></strong></p>
  180. <p><strong><code>![o logo do Google][logo]</code></strong></p>
  181. <p>
  182. Acima temos um apontador e uma imagem. Colocando a imagem onde se
  183. devia colocar o texto do apontador obtemos:
  184. </p>
  185. <p><strong><code>[![o logo do Google][logo]][google]</code></strong></p>
  186. <p>
  187. Esta linha acima, em combinação com as seguintes definições do
  188. apontador e imagem, numa outra parte no documento:
  189. <p><strong><code>[logo]: http://www.google.com/images/logo.gif</code></strong><br />
  190. <strong><code>[google]: http://www.google.com/ "Carregue para visitar Google.com"</code></strong></p>
  191. <p>
  192. produz a seguinte imagem com um apontador (com ajuda quando se colocar
  193. o rato sobre ela):
  194. </p>
  195. <p><a href="http://www.google.com/" title="Carregue para visitar Google.com"><img src="http://www.google.com/images/logo.gif" alt="o logo do Google" /></a></p>
  196. <p>
  197. Um exemplo onde esta técnica pode ser útil consiste em associar
  198. imagens pequenas (<em>thumbnail</em>) a fotos maiores.
  199. </p>
  200. <h2><a id="embedded">Inclusão de HTML</a></h2>
  201. <p>
  202. Se já souber codificar em HTML então podem existir ocasiões quando o
  203. Markdown não lhe permite o mesmo controlo ao que está
  204. habituado. Felizmente o Markdown foi projectado para esta
  205. eventualidade, permitindo a inclusão directa de HTML dentro do texto
  206. em formato Markdown. Por exemplo:
  207. </p>
  208. <p><strong><code>* &lt;small&gt;texto pequeno&lt;/small&gt;</code></strong><br />
  209. <strong><code>* &lt;big&gt;texto grande&lt;/big&gt;</code></strong> </p>
  210. <ul>
  211. <li><small>texto pequeno</small> </li>
  212. <li><big>texto grande</big> </li>
  213. </ul>
  214. <p>
  215. Repare que o código HTML coexiste com o código do Markdown para lista
  216. de pontos. Isso permite a utilização da sintaxe mais simples do
  217. Markdown para algumas tarefas habituais como parágrafos e listas,
  218. reservando o poder do HTML para situações mais específicas.
  219. </p>
  220. <h2><a id="preformatted">Código Pré formatado/a></h2>
  221. <p>
  222. Se, ao contrário da secção acima, deseja que o código HTML escrito
  223. seja mostrado exactamente como foi escrito, em vez de ser processado
  224. como HTML, pode começar cada linha com quatro espaços.
  225. </p>
  226. <pre><code>&lt;p&gt;Um parágrafo em &lt;strong&gt;HTML&lt;/strong&gt; mostrado como código&lt;/p&gt;
  227. </code></pre>
  228. <p>
  229. O mesmo método (4 espaços no início da linha) pode ser usado para
  230. apresentar código de computador:
  231. </p>
  232. <pre><code>print "Argumentos da linha de Comando: (@ARGV)\n";
  233. </code></pre>
  234. <p>
  235. Como este formato é usado para listagens de programas e ooutro texto
  236. que pode conter os caracteres que o Markdown usa para indicar tipos
  237. diferentes de formato, a formatação do Markdown é desligada para estas
  238. linhas:
  239. </p>
  240. <pre><code>Normalmente esta palavra seria escrita em **negrito**.
  241. </code></pre>
  242. <p>
  243. Para incluir tais caracteres dentro do texto normal, veja a secção abaixo.
  244. </p>
  245. <h2><a id="special_char">Uso de Caracteres Especiais </a></h2>
  246. <p>
  247. Se quiser usar qualquer um dos caracteres especiais que definem o
  248. formato do Markdown sem que seja interpretado como caracter especial,
  249. simplesmente preceda-o com o carácter (\). Isto é designado de
  250. &quot;escapar&quot; o carácter. O carácter \ não é mostrado mas o
  251. carácter imediatamente depois dele sim é mostrado, exactamente como
  252. introduzido.
  253. </p>
  254. <p><strong><code>\*asteriscos, não ênfase\* </code></strong></p>
  255. <p>É apresentado como:</p>
  256. <p>*asteriscos, não ênfase*</p>
  257. <p>em vez de</p>
  258. <p><strong><code>*ênfase, não asteriscos*</code></strong></p>
  259. <p>o que dá:</p>
  260. <p><em>ênfase, não asteriscos</em></p>
  261. <h2><a id="further">Referências</a></h2>
  262. <p>
  263. O sistema Markdown não é próprio do Moodle; é usado num número
  264. crescente de ferramentas de publicação na Web. Pode obter mais
  265. informações
  266. em <a href="http://daringfireball.net/projects/markdown/">http://daringfireball.net/projects/markdown/</a>
  267. </p>
  268. </div></div>
  269. </div><div class="closewindow">
  270. <form action="#"><div><input type="button" onclick="self.close();" value="Fechar esta janela" /></div></form></div>
  271. <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>
  272. <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%3Dadvanced_markdown.html">Validate HTML</a></li>
  273. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Ffile%3Dadvanced_markdown.html">Section 508 Check</a></li>
  274. <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%3Dadvanced_markdown.html">WCAG 1 (2,3) Check</a></li>
  275. </ul></div>
  276. </div>
  277. </div>
  278. </body>
  279. </html>

↑ Top