wottynot Posted May 9, 2015 Share Posted May 9, 2015 I always try and get any web pages i construct validated but for some reason the webpage has two problems for which i cannot find a remedy for. 1) No characater encoding found! Falling back to utf-8. But i did include <meta charset="utf-8"> in the head of the webpaage? 2) The noframes element is obsolete. Use the iframe element and CSS instead. Or use server-side includes. I have never come across this problem before. <!doctype html><html lang="en"><head> <title>Championship League Table</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="footie-styles.css"></head> Link to comment Share on other sites More sharing options...
Ingolme Posted May 9, 2015 Share Posted May 9, 2015 Without seeing all the code, I can't know for sure what the validator is complaining about. <noframes> is obsolete. Link to comment Share on other sites More sharing options...
wottynot Posted May 9, 2015 Author Share Posted May 9, 2015 Hi Ingolme Here's all the code <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Championship League Table</title> <link rel="stylesheet" type="text/css" href="footie-styles.css"></head><body><div id="div"><table class="list"><caption class="captn">Championship League Table 2015-16</caption></table><table class="list2"><thead><tr><th colspan="6" style="border:0"></th><th colspan="5" style="border:0; text-decoration:underline">Home</th><th colspan="7" style="border:0; text-decoration:underline">Away</th><th style="border:0; text-decoration:0"></th><th style="border:0; text-decoration:0"></th><th style="border:0; text-decoration:0"></th></tr><tr><th class="Pos">Pos</th><th class="blank"> </th><th class="Teams">Teams</th><th class="blank"> </th><th class="Pld">Pld</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th>W</th><th>D</th><th>L</th><th>F</th><th>A</th><th class="blank"> </th><th class="GD">GD</th><th class="blank"> </th><th class="Pts">Pts</th></tr></thead><tbody><tr><td colspan="21" style="height: 5px"></td></tr><tr class="box"><td>1</td><td class="blank"></td><td class="oppo"><a href="http://www.afcb.co.uk" target="_blank">Bournemouth</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>13</td><td>7</td><td>3</td><td>48</td><td>25</td><td class="blank"></td><td>13</td><td>5</td><td>5</td><td>50</td><td>20</td><td class="blank"></td><td class="GD">53</td><td class="blank"> </td><td class="Pts">90</td></tr><tr class="box"><td>2</td><td class="blank"></td><td class="oppo"><a href="http://www.watfordfc.com" target="_blank">Watford</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>14</td><td>4</td><td>5</td><td>48</td><td>22</td><td class="blank"></td><td>13</td><td>4</td><td>6</td><td>43</td><td>28</td><td class="blank"></td><td class="GD">41</td><td class="blank"> </td><td class="Pts">89</td></tr><tr><td colspan="21"><hr style="width:100%"></td></tr><tr class="box"><td>3</td><td class="blank"></td><td class="oppo"><a href="http://www.canaries.co.uk" target="_blank">Norwich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>12</td><td>6</td><td>5</td><td>50</td><td>24</td><td class="blank"></td><td>13</td><td>5</td><td>5</td><td>38</td><td>24</td><td class="blank"></td><td class="GD">40</td><td class="blank"> </td><td class="Pts">86</td></tr><tr class="box"><td>4</td><td class="blank"></td><td class="oppo"><a href="http://www.mfc.co.uk" target="_blank">Middlesbrough</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>42</td><td>12</td><td class="blank"></td><td>10</td><td>5</td><td>8</td><td>26</td><td>25</td><td class="blank"></td><td class="GD">31</td><td class="blank"> </td><td class="Pts">85</td></tr><tr class="box"><td>5</td><td class="blank"></td><td class="oppo"><a href="http://www.brentfordfc.co.uk" target="_blank">Brentford</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>12</td><td>6</td><td>5</td><td>46</td><td>28</td><td class="blank"></td><td>11</td><td>3</td><td>9</td><td>32</td><td>31</td><td class="blank"></td><td class="GD">19</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>6</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr><td colspan="21"><hr style="width:100%"></td></tr><tr class="box"><td>7</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>8</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>9</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>10</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>11</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr><tr class="box"><td>12</td><td class="blank"></td><td class="oppo"><a href="http://www.itfc.co.uk" target="_blank">Ipswich</a></td><td class="blank"></td><td>46</td><td class="blank"></td><td>15</td><td>5</td><td>3</td><td>40</td><td>18</td><td class="blank"></td><td>7</td><td>7</td><td>9</td><td>32</td><td>36</td><td class="blank"></td><td class="GD">18</td><td class="blank"> </td><td class="Pts">78</td></tr></tbody></table></div></body></html> Link to comment Share on other sites More sharing options...
Ingolme Posted May 9, 2015 Share Posted May 9, 2015 I copied that code to the validator and it validates perfectly well. Link to comment Share on other sites More sharing options...
wottynot Posted May 10, 2015 Author Share Posted May 10, 2015 I tried to validate the web page and yet again the same two errors appeared. 1) Line 3, Column 16: Element noframes not allowed as child of element head in this context. (Suppressing further errors from this subtree.) 2) Line 3, Column 16: The noframes element is obsolete. Use the iframe element and CSS instead, or use server-side includes. Could these errors be generated because of the web host i am using? Link to comment Share on other sites More sharing options...
dsonesuk Posted May 10, 2015 Share Posted May 10, 2015 Yes, could be part of advertising placed there by host. Link to comment Share on other sites More sharing options...
COBOLdinosaur Posted May 11, 2015 Share Posted May 11, 2015 If you are using a free host then they are probably framing the site ti insert ads. instead of using the url to validate. Copy your code and then use the direct input option of the validator a paste your code in the textatra. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now