- From: Gilbert, Kenneth C <kgilber1@utk.edu>
- Date: Sun, 10 Jan 2021 17:32:12 +0000
- To: "www-validator@w3.org" <www-validator@w3.org>
- Message-ID: <BN6PR02MB31387E839E9BFDE76C17C6F187AC0@BN6PR02MB3138.namprd02.prod.outlook.com>
In an assignment for Django for Everybody, I created a web page on Pythonanywhere. The assignment required that Icheck it in W3C HTML Validator. The code is given below, and the link is https://www.pythonanywhere.com/user/kennyg/files/home/kennyg/django_projects/mysite/site/dj3e.htm. The page displays fine in chrome. When I paste the code into W3C the HTML Validator as text, I only get a warning. When I put the link into the validator, I get a bunch of errors. The output is a the bottom of the email. Thanks, Ken Gilbert <!DOCTYPE html> <html> <head> <title> Ken Gilbert b8a0ca</title> <meta charset="UTF-8"> </head> <body> <p>You can add a style like <strong>bold</strong> to some text by enclosing it in the <em>appropriate</em> tag.</p> <h1>Some Good Links</h1> <p> To learn python <a href="https://www.dr-chuck.com/"> Dr. Chuck</a>. </p> <p> To learn AWS <a href="https://https://noahgift.com//"> Noah Gift</a>. </p> <p> To learn Analytics <a href="https://https://https://haslam.utk.edu/business-analytics-statistics//"> Haslam MSBA</a>. </p> <ul> <li><p><strong>For Good Health:</strong> </p></li> <li><p>Meditation </p></li> <li><p>Healthy Diet</p></li> <li><p>Exercise</p></li> <li><p>Sleep</p></li> <li><p>Hydration</p></li> <li><p>Experience the Outdoor Temperatures year around</p></li> <li><p>Let Go of Grievances</p></li> </ul> </body> </html> When I paste the code into the validator as text, I only get a warning: Warning: Consider adding a lang attribute to the html start tag to declare the language of this document. From line 1, column 17; to line 2, column 6<https://validator.w3.org/nu/#l2c6> TYPE html>↩<html>↩<head For further guidance, consult Declaring the overall language of a page<https://www.w3.org/International/techniques/authoring-html.en?open=language&open=textprocessing#textprocessing> and Choosing language tags<https://www.w3.org/International/techniques/authoring-html.en?open=language&open=langvalues#langvalues>. If the HTML checker has misidentified the language of this document, please file an issue report<https://github.com/validator/validator/issues/new> or send e-mail to report the problem<mailto:www-validator@w3.org>. However when I check by address: https://www.pythonanywhere.com/user/kennyg/files/home/kennyg/django_projects/mysite/site/dj3e.htm I get: 1. Warning: The type attribute is unnecessary for JavaScript resources. From line 20, column 9; to line 20, column 39<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l20c39> >↩ <script type="text/javascript">↩ 2. Warning: The type attribute is unnecessary for JavaScript resources. From line 25, column 9; to line 25, column 85<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l25c85> >↩ <script type="text/javascript" src="/static/CACHE/js/output.0076aee77b73.js"></scri 3. Warning: The type attribute is unnecessary for JavaScript resources. From line 28, column 9; to line 28, column 85<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l28c85> ↩↩ <script type="text/javascript" src="/static/CACHE/js/output.afad2ae6938c.js"></scri 4. Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images<http://www.w3.org/wiki/HTML/Usage/TextAlternatives>. From line 82, column 11; to line 82, column 82<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l82c82> <img id='id_logo' src="/static/anywhere/images/PA-logo.svg" width="225">↩ 5. Error: Bad value for attribute action on element form<https://html.spec.whatwg.org/multipage/#the-form-element>: Must be non-empty. From line 132, column 3; to line 132, column 45<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l132c45> 1>↩↩ ↩↩ <form class="form" action="" method="post"><input 6. Error: Element style<https://html.spec.whatwg.org/multipage/#the-style-element> not allowed as child of element table<https://html.spec.whatwg.org/multipage/#the-table-element> in this context. (Suppressing further errors from this subtree.) From line 133, column 12; to line 134, column 32<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l134c32> <table>↩ <style type="text/css" scoped>↩ / Contexts in which element style<https://html.spec.whatwg.org/multipage/#the-style-element> may be used: Where metadata content<https://html.spec.whatwg.org/multipage/#metadata-content-2> is expected. In a noscript<https://html.spec.whatwg.org/multipage/#the-noscript-element> element that is a child of a head<https://html.spec.whatwg.org/multipage/#the-head-element> element. Content model for element table<https://html.spec.whatwg.org/multipage/#the-table-element>: In this order: optionally a caption<https://html.spec.whatwg.org/multipage/#the-caption-element> element, followed by zero or more colgroup<https://html.spec.whatwg.org/multipage/#the-colgroup-element> elements, followed optionally by a thead<https://html.spec.whatwg.org/multipage/#the-thead-element> element, followed by either zero or more tbody<https://html.spec.whatwg.org/multipage/#the-tbody-element> elements or one or more tr<https://html.spec.whatwg.org/multipage/#the-tr-element> elements, followed optionally by a tfoot<https://html.spec.whatwg.org/multipage/#the-tfoot-element> element, optionally intermixed with one or more script-supporting elements<https://html.spec.whatwg.org/multipage/#script-supporting-elements-2>. 7. Warning: The type attribute for the style element is not needed and should be omitted. From line 133, column 12; to line 134, column 32<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l134c32> <table>↩ <style type="text/css" scoped>↩ / 8. Error: Start tag input seen in table. From line 144, column 11; to line 145, column 101<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l145c101> </style>↩ <input type="hidden" name="login_view-current_step" value="auth" id="id_login_view-current_step" />↩ ↩↩< 9. Error: Element input<https://html.spec.whatwg.org/multipage/#the-input-element> not allowed as child of element table<https://html.spec.whatwg.org/multipage/#the-table-element> in this context. (Suppressing further errors from this subtree.) From line 144, column 11; to line 145, column 101<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l145c101> </style>↩ <input type="hidden" name="login_view-current_step" value="auth" id="id_login_view-current_step" />↩ ↩↩< Contexts in which element input<https://html.spec.whatwg.org/multipage/#the-input-element> may be used: Where phrasing content<https://html.spec.whatwg.org/multipage/#phrasing-content-2> is expected. Content model for element table<https://html.spec.whatwg.org/multipage/#the-table-element>: In this order: optionally a caption<https://html.spec.whatwg.org/multipage/#the-caption-element> element, followed by zero or more colgroup<https://html.spec.whatwg.org/multipage/#the-colgroup-element> elements, followed optionally by a thead<https://html.spec.whatwg.org/multipage/#the-thead-element> element, followed by either zero or more tbody<https://html.spec.whatwg.org/multipage/#the-tbody-element> elements or one or more tr<https://html.spec.whatwg.org/multipage/#the-tr-element> elements, followed optionally by a tfoot<https://html.spec.whatwg.org/multipage/#the-tfoot-element> element, optionally intermixed with one or more script-supporting elements<https://html.spec.whatwg.org/multipage/#script-supporting-elements-2>. 10. Error: Start tag p seen in table. From line 145, column 102; to line 148, column 22<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l148c22> t_step" />↩ ↩↩<p class="form-group">↩ <in 11. Fatal Error: Cannot recover after last error. Any further errors will be ignored. From line 145, column 102; to line 148, column 22<https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fwww.pythonanywhere.com%2Fuser%2Fkennyg%2Ffiles%2Fhome%2Fkennyg%2Fdjango_projects%2Fmysite%2Fsite%2Fdj3e.htm#l148c22> t_step" />↩ ↩↩<p class="form-group">↩ <in Document checking completed. Source 1. <!DOCTYPE html>↩ 2. ↩ 3. <html lang="en" style="height: 100%">↩ 4. <head>↩ 5. <meta charset="utf-8">↩ 6. <title>Login: PythonAnywhere</title>↩ 7. <meta name="viewport" content="width=device-width, initial-scale=1.0">↩ 8. <meta name="description" content="Login: PythonAnywhere">↩ 9. <meta name="author" content="PythonAnywhere LLP">↩ 10. <meta name="google-site-verification" content="O4UxDrfcHjC44jybs2vajc1GgRkTKCTRgVzeV6I9V14" />↩ 11. ↩ 12. ↩ 13. <!-- Le styles -->↩ 14. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i" />↩ 15. ↩ 16. <link rel="stylesheet" href="/static/CACHE/css/output.652c88b237cc.css" type="text/css" media="screen" />↩ 17. <link rel="stylesheet" href="/static/CACHE/css/output.c184c0fc7128.css" type="text/css" /><link rel="stylesheet" href="/static/CACHE/css/output.5fe8ed73dcd2.css" type="text/css" media="screen" />↩ 18. ↩ 19. <!-- Le javascript -->↩ 20. <script type="text/javascript">↩ 21. var Anywhere = {};↩ 22. Anywhere.urls = {};↩ 23. Anywhere.csrfToken = "x7bAZQwsm15MeaLYwnutdpweAMF41qYlM5zvsxho6vT1ZeLGqAhI1ptOH9lpsvz9";↩ 24. </script>↩ 25. <script type="text/javascript" src="/static/CACHE/js/output.0076aee77b73.js"></script>↩ 26. ↩ 27. ↩ 28. <script type="text/javascript" src="/static/CACHE/js/output.afad2ae6938c.js"></script>↩ 29. ↩ 30. ↩ 31. ↩ 32. </head>↩ 33. ↩ 34. <body style="height:100%;">↩ 35. <div style="min-height: 100%; position: relative;">↩ 36. ↩ 37. ↩ 38. <nav class="navbar alert alert-warning alert-dismissible cookie-warning" style="padding: 10px 35px 5px 35px; min-height: auto;" id="id_cookie_warning_marker_for_response_middleware">↩ 39. <button type="button" class="close" data-dismiss="alert" aria-label="Close">↩ 40. <span aria-hidden="true">×</span>↩ 41. </button>↩ 42. <p>↩ 43. <small>↩ 44. We use cookies to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media and analytics partners. <a href="/privacy/#cookies">Details here</a>.↩ 45. </small>↩ 46. </p>↩ 47. </nav>↩ 48. ↩ 49. ↩ 50. ↩ 51. <nav class="navbar top-nav hidden-xs">↩ 52. <div class="container">↩ 53. <ul class="nav navbar-nav navbar-right">↩ 54. <li class=""><a href="" class="feedback_link">Send feedback</a></li>↩ 55. <li class=""><a href="/forums/" class="forums_link">Forums</a></li>↩ 56. <li class=""><a href="https://help.pythonanywhere.com/" class="help_link">Help</a></li>↩ 57. <li class=""><a href="https://blog.pythonanywhere.com/" class="blog_link">Blog</a></li>↩ 58. ↩ 59. <li class=""><a style="font-weight: bold;" href="/pricing/" class="pricing_link">Pricing & signup</a></li>↩ 60. <li class=""><a href="/login/?next=/login/" class="login_link">Log in</a></li>↩ 61. ↩ 62. ↩ 63. </ul>↩ 64. </div>↩ 65. </nav>↩ 66. ↩ 67. ↩ 68. ↩ 69. ↩ 70. ↩ 71. ↩ 72. <nav class="navbar primary-navbar">↩ 73. <div class="container">↩ 74. <div class="navbar-header">↩ 75. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main_nav" aria-expanded="false">↩ 76. <span class="sr-only">Toggle navigation</span>↩ 77. <span class="icon-bar"></span>↩ 78. <span class="icon-bar"></span>↩ 79. <span class="icon-bar"></span>↩ 80. </button>↩ 81. <a class="navbar-brand" href="/">↩ 82. <img id='id_logo' src="/static/anywhere/images/PA-logo.svg" width="225">↩ 83. </a>↩ 84. </div>↩ 85. ↩ 86. <div class="collapse navbar-collapse" id="main_nav">↩ 87. <ul class="nav navbar-nav navbar-right">↩ 88. ↩ 89. ↩ 90. ↩ 91. ↩ 92. <li class="visible-xs"><a href="" class="feedback_link">Send feedback</a></li>↩ 93. <li class="visible-xs"><a href="/forums/" class="forums_link">Forums</a></li>↩ 94. <li class="visible-xs"><a href="https://help.pythonanywhere.com/" class="help_link">Help</a></li>↩ 95. <li class="visible-xs"><a href="https://blog.pythonanywhere.com/" class="blog_link">Blog</a></li>↩ 96. ↩ 97. <li class="visible-xs"><a style="font-weight: bold;" href="/pricing/" class="pricing_link">Pricing & signup</a></li>↩ 98. <li class="visible-xs"><a href="/login/?next=/login/" class="login_link">Log in</a></li>↩ 99. ↩ 100. ↩ 101. </ul>↩ 102. </div>↩ 103. ↩ 104. </div>↩ 105. </nav>↩ 106. ↩ 107. <div class="container">↩ 108. ↩ 109. ↩ 110. </div>↩ 111. ↩ 112. ↩ 113. ↩ 114. ↩ 115. ↩ 116. ↩ 117. ↩ 118. ↩ 119. ↩ 120. ↩ 121. ↩ 122. ↩ 123. ↩ 124. <div class="container">↩ 125. <div class="row">↩ 126. <div class="col-md-5 col-md-offset-3">↩ 127. ↩ 128. <h1>Log in</h1>↩ 129. ↩ 130. ↩ 131. ↩ 132. <form class="form" action="" method="post"><input type='hidden' name='csrfmiddlewaretoken' value='x7bAZQwsm15MeaLYwnutdpweAMF41qYlM5zvsxho6vT1ZeLGqAhI1ptOH9lpsvz9' />↩ 133. <table>↩ 134. <style type="text/css" scoped>↩ 135. /* hide stupid updowney arrows on number input */↩ 136. input[type="number"]::-webkit-outer-spin-button,↩ 137. input[type="number"]::-webkit-inner-spin-button {↩ 138. -webkit-appearance: none;↩ 139. margin: 0;↩ 140. }↩ 141. input[type="number"] {↩ 142. -moz-appearance: textfield;↩ 143. }↩ 144. </style>↩ 145. <input type="hidden" name="login_view-current_step" value="auth" id="id_login_view-current_step" />↩ 146. ↩ 147. ↩ 148. <p class="form-group">↩ 149. <input type="text" name="auth-username" placeholder="Username or email address" tabindex="1" autocorrect="off" autocapitalize="off" class="form-control" maxlength="100" required id="id_auth-username" />↩ 150. <span class="help-block">↩ 151. No account? <a href="/pricing/" id="id_signup_link">Sign up here!</a>↩ 152. </span>↩ 153. </p>↩ 154. <p class="form-group">↩ 155. <input type="password" name="auth-password" placeholder="Password" tabindex="2" class="form-control" required id="id_auth-password" />↩ 156. <span class="help-block">↩ 157. <a href="/password_reset/">Forgotten password?</a>↩ 158. </span>↩ 159. </p>↩ 160. <div class="clear"></div>↩ 161. ↩ 162. </table>↩ 163. ↩ 164. ↩ 165. ↩ 166. <div style="margin-left: -9999px"><input type="submit" value=""/></div>↩ 167. ↩ 168. ↩ 169. ↩ 170. ↩ 171. <button id="id_next" type="submit" class="btn btn-primary">Log in</button>↩ 172. ↩ 173. ↩ 174. ↩ 175. </form>↩ 176. ↩ 177. </div>↩ 178. </div>↩ 179. </div>↩ 180. ↩ 181. ↩ 182. ↩ 183. ↩ 184. <div class="footer-spacer"></div>↩ 185. <footer id="id_copyright_div" class="footer">↩ 186. <p>↩ 187. Copyright © 2011-2021 <a href="/about/com Used the HTML parser. Externally specified character encoding was utf-8. Total execution time 658 milliseconds.
Received on Sunday, 10 January 2021 23:58:56 UTC