Error found while checking this document as XHTML 1.0 Transitional!

Result: 1 Error
:
Modified:(undefined)
Server:Apache/2.4.25 (Debian)
Size:3600
Content-Type:text/html
: utf-8
: XHTML 1.0 Transitional
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 140, Column 48: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
       <p class="ij"><div style="text-align: right">Informatics <a href=

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

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="Author" lang="en" content="Miguel Casquilho" />
  6. <title>M&middot;C, IST: Monte Carlo sigma from sums</title>
  7. <link rel="stylesheet" type="text/css"
  8. href="http://sasws.tecnico.ulisboa.pt/common/x_commonstyle.css" />
  9. <style type="text/css"> .hil {background-color: #a0c0ff}</style>
  10. </head> <!-- 17Jul2017 -->
  11. <body class="sm">
  12. <form method="post" action=
  13. "../common/interface_png.php?silent">
  14. <input name="executable" type="hidden" value="silent.exe" />
  15. <input type="hidden" name="servers[]" value="http://snf-43101.vm.okeanos-global.grnet.gr/web/cisti" /><input type="hidden" name="servers[]" value="http://web.tecnico.ulisboa.pt/ist176165/cisti" />
  16. <table width="90%" bgcolor="#eeeeee" align="center" border="1" class="sm">
  17. <tr><td colspan="3">
  18. <table width="100%" class="sm">
  19. <tr><td width="50px"><a href="https://fenix.ist.utl.pt/departamentos/deq"><img
  20. src="../common/emblem.png" alt="emblem" border="0px" width="40" height="41" /></a>
  21. </td><!--title-->
  22. <td><div style="font-size: 13.5pt; text-align: center"><!-- title --><b
  23. onmouseout="this.style.color='blue', this.style.fontStyle='normal'"
  24. onmouseover="this.style.color='red',
  25. this.style.fontStyle='bold'">
  26. <i>&sigma;</i>
  27. from unequal sample sizes</b></div><center>Finds <i>&sigma;</i>
  28. from bag batches' sums of weights: a conjecture.<!--b>
  29. UN DERCONSTRUCTION</b--></center></td>
  30. <td width="112px"><table width='100%'>
  31. <tr><td align="center" style="background-color: white">
  32. <input type="submit"
  33. value="&nbsp; Execute &nbsp;" style="background-color: #00bfff"
  34. onmouseout="this.style.fontStyle='normal', this.style.fontWeight='normal'"
  35. onmouseover="this.style.fontStyle='normal', this.style.fontWeight='bold'"/></td>
  36. </tr><tr><td align='center'><span style='font-size: xx-small'>2020.Mar.17 01:16:53</span></td></tr></table>
  37. </td></tr></table>
  38. </td></tr> <!-- ................................................... -->
  39. <tr><td width="15%" align="center"><b>n</b></td>
  40. <td width="45%"><textarea name="lots" rows="1"
  41. cols="45"> 5 11 26 58</textarea><input
  42. name="eodn" type="hidden" value="EOD" /></td>
  43. <td width="40%">Lot <i>sizes</i>, <i>n<sub>i</sub></i>,
  44. <i>i</i> = 1..<i>m</i>. &bull;</td></tr>
  45. <tr><td align="center"><i>&mu;</i>, <i>&sigma;</i></td>
  46. <td><input name="mu" type="text" value="25" size="6"
  47. maxlength="8" /><input name="sig" type="text" value="0.2" size="6"
  48. maxlength="8" /> (kg) &emsp; (theoretical)</td>
  49. <td>Gaussian parameters for the bag weight. &bull;</td></tr>
  50. <tr><td align="center">Criterion</td>
  51. <td><i>c</i> =
  52. <label for="crit0" class="hil"><input name="crit" id="crit0"
  53. type="radio" value="0" />&nbsp;0&nbsp;</label> &nbsp;
  54. <label for="crit1" class="hil"><input name="crit" id="crit1"
  55. type="radio" value="1" checked="checked" />&nbsp;1&nbsp;</label> &nbsp;
  56. <label for="crit2" class="hil"><input name="crit" id="crit2"
  57. type="radio" value="2" />&nbsp;2&nbsp;</label> &nbsp;
  58. <input name="altcrit" type="text" value="?" size="4"
  59. maxlength="10" style="background-color: #a0c0ff" /> (iff given)</td>
  60. <td><i>Criterion</i> for weighting. &bull;</td></tr>
  61. <tr><td align="center">Lg(trials), .seed</td>
  62. <td><input name="trialslg" type="text" value="5." size="6"
  63. maxlength="10" /><input name="iseed" type="text" value="0" size="6"
  64. maxlength="10" /></td>
  65. <td>N. of <i>trials</i> and random n. generator <i>seed</i>. &bull;</td></tr>
  66. <tr><td align="center">Show values</td>
  67. <td><select name="ishow"><option value="0" selected="selected">No</option>
  68. <option value="1">Yes</option></select> &nbsp; (PHP test:
  69. <label for="it1" class="hil"><input name="phptest" id="it1"
  70. type="radio" value="0" checked="checked" />&nbsp;0&nbsp;</label> &nbsp;
  71. <label for="it2" class="hil"><input name="phptest" id="it2"
  72. type="radio" value="1" />&nbsp;1&nbsp;</label>)</td>
  73. <td>Show the graph coordinates.</td></tr>
  74. <!-- plot 'gnudata.dat' \ (or anything: this line is a MANDATORY dummy) -->
  75. <tr><td colspan="3"><input name="gnuplot" type="hidden"
  76. value="wid = 600
  77. set terminal png enhanced font 'Times, 16' size wid, wid/1.618
  78. set timestamp offset 0, +0.75 font 'Helvetica-Bold, 9'
  79. set key top left font 'Times-Italic, 13'
  80. set title 'From loads of bags to {/Symbol s}' offset 0, -1.
  81. set xlabel '{/Times-Italic a}' offset 14, +0.95
  82. set ylabel ' {/Times-Italic f}' rotate by 0 offset +1.5, +4.25
  83. set yrange [0:*]; set ytics nomirror
  84. set y2label '{/Times-Italic F}' rotate by 0 offset -2.9, +4.25
  85. set y2range [0:1]; set y2tics 0.2 nomirror
  86. set grid; set tics font 'Times, 13'
  87. set style line 11 lc rgb 'red' lw 2
  88. set style line 12 lc rgb '#09ad00' lw 4 # green
  89. set style line 13 lc rgb '#0000ff' lw 2 # blue
  90. plot anyname.dat \
  91. usi 1:2 axis x1y1 title '{/Times-Italic f}' with lines ls 11, \
  92. '' usi 1:3 axis x1y2 title '{/Times-Italic F}' with lines ls 12" /><p class="ij">Tries,
  93. from simulated weights of batches of possibly
  94. <i>unequal</i> sizes of bags (or other collective items),
  95. to determine the <i>mean</i> and <i>standard deviation</i>,
  96. <i>&mu;</i> and <i>&sigma;</i>, of the Gaussian distribution
  97. assumed for the weight of the <i>individual</i> bags.
  98. The sizes of the <i>m</i> batches (indeed, commercial <i>lots</i>)
  99. are <i>n<sub>i</sub></i>, <i>i</i> = 1..<i>m</i>,
  100. given in the vector&nbsp;<b>n</b>.</p>
  101. <p class="ij">The determination of <i>&sigma;</i>
  102. is done by a weighting criterion applied to the various lot sizes,
  103. a conjecture. The weights are, for <i>i</i> = 1..<i>m</i>,
  104. <span class="nobreak"><i>w<sub>i</sub></i> = <i>n<sub>i</sub></i><sup><i>c</i></sup> &frasl; &Sigma;<i>n<sub>i</sub></i><sup>c</sup></span>.
  105. (A criterion of <i>c</i> = 0 leads, of course, to the arithmetic mean,
  106. which will also be the case for any <i>c</i> if all the
  107. <i>n<sub>i</sub></i> are equal.)</p>
  108. <p class="ij">The best criterion appears to be
  109. <i>c</i>&nbsp;=&nbsp;1.</p>
  110. <p class="ij">This is an attempt to estimate <i>&sigma;</i>
  111. (estimating <i>&mu;</i> is trivial) from a set of experimental data
  112. that are here simulated but which routinely exist in many industries.
  113. (The base data are inspired in real bags of fertilizers.)</p>
  114. <p class="ij">As this computation is rather lengthy,
  115. if the number of trials is excessive (for the total lot sizes),
  116. it is reduced (trials &times; lot total &le; 10<sup><b>8</b></sup>).</p>
  117. <p class="ij">Draws a plot of <i>f</i>, the 'pdf', and <i>F</i>,
  118. the 'cdf', of the averages of bags,
  119. <i>a</i> (certainly, around <i>&mu;</i>), only to verify
  120. the sufficiency of the Monte Carlo simulation.</p>
  121. <p class="ij"><div style="text-align: right">Informatics <a href=
  122. "./argument.pdf">structure</a>.<i>php</i></div></p></td></tr>
  123. <tr><td align="center"><input type="reset" style="font-size: smaller"
  124. value=" Reset " /></td><td><i>References:</i></td>
  125. <td align="center"><i>Plate:</i> SigmaFromSums</td></tr>
  126. <tr><td colspan="3"><!--p class="ref">&bull;&nbsp;&bull;&nbsp;#Wikipedia: <a href=
  127. "https://en.wikipedia.org/wiki/Variance">variance</a></p-->
  128. <p class="ref">&bull;&nbsp;Google search: <a href=
  129. "https://www.google.com/search?q=%22different+sample+size%22+-unequal&amp;oq=%22different+sample+size%22+-unequal"
  130. >"different sample size" -unequal</a>; <a href=
  131. "https://www.google.com/search?q=%22unequal+sample+size%22+-different&amp;oq=%22unequal+sample+size%22+-different"
  132. >"unequal sample size" -different</a></p>
  133. <p class="ref">&bull;&nbsp;<a href=
  134. "http://www.adp-fertilizantes.pt/templates/SP.aspx?M=112&amp;F=7"
  135. >Catálogo de fertilizantes</a> (<a href=
  136. "http://www.adp-fertilizantes.pt/">ADP fertilizantes, SA</a>,
  137. "fertilizers"). (<a href=
  138. "http://www.sapecagro.pt/internet/asp/home.asp"
  139. >SAPEC</a>; <a href=
  140. "http://www.tradecorp.es/productos/nutricomplex-rojo"
  141. >Tradecorp</a>)</p>
  142. <p class="ref">&bull;&nbsp;1842-11-12: <a href=
  143. "http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Rayleigh.html"
  144. ><span class="sc">Strutt</span></a>, John William (Lord Rayleigh)
  145. (&dagger; 1919-06-30).</p></td></tr>
  146. </table>
  147. </form>
  148. <div style="line-height: 12pt">&nbsp;</div>
  149. <div style="line-height: 1.5pt; color: black; background-color: red">&nbsp;</div>
  150. <table width="100%" class="sm"><tr>
  151. <td style="width: 58px"><a href="http://validator.w3.org/check?uri=
  152. http://sasws.ist.utl.pt/cisti/Fx-sigmaFromSums.php;verbose=1;ss=1"><img
  153. src="http://sasws.tecnico.ulisboa.pt/common/valid-xhtml10s.png"
  154. alt="Valid HTML 4.01!" style="border: none" width="55px" height="19px" /></a></td>
  155. <td style="width: 15%" align="left"><a href="http://www.tecnico.ulisboa.pt"><img
  156. src="http://sasws.tecnico.ulisboa.pt/common/wwwist.png"
  157. alt="IST" style="border: none; width: 88px"
  158. height="34px" /></a></td>
  159. <td style="width: 70%" align=
  160. "right"><i>http://sasws.ist.utl.pt/cisti/Fx-sigmaFromSums.php</i><br />
  161. <i>Created:</i> 2017-11-12 &mdash; <i>Last modified:</i>
  162. 2018-06-12</td></tr></table>
  163. </body></html>

↑ Top