Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ please help: HTML Web design repairs need to be made

Posted by: benjidesigns Mar 25 2012, 10:08 PM

I have designed my website and have 5 errors when checking html validator that i need repaired. the first 1 is a youtube embed code and the rest are simple html errors.

please help as i am due to launch my site in a few days. thanks

here is details:

1. Line 285, Column 158: "ALLOWFULLSCREEN" is not a member of a group specified for any attribute
…ube.com/embed/e4kx9_stKYI?rel=0" frameborder="0" allowfullscreen></iframe></td>

<iframe width="640" height="480" src="http://www.youtube.com/embed/sjsnsjsI?rel=0" frameborder="0" allowfullscreen></iframe></td>
(*you tube video code changed)

2. Line 104, Column 19: there is no attribute "BACKGROUND"
<table background="images/headerbg.jpg" border="0"

3. Line 110, Column 25: there is no attribute "HEIGHT"

<table align="center" border="0" cellpadding="0" cellspacing="0" height="93" width="989">

4. Line 332, Column 28: end tag for "TBODY" which is not finished

</tbody>

5. Line 337, Column 21: end tag for "TR" which is not finished

</tr>

Posted by: Darin McGrew Mar 25 2012, 11:16 PM

It's hard to be specific without seeing the page in question, but:

2 & 3 can be fixed by removing the presentational markup and using CSS instead.

4 is probably caused by markup like <tbody></tbody> without any tr elements inside. A tbody element is required to have one or more tr elements.

5 is probably caused by markup like <tr></tr> without any td or th elements inside. A tr element is required to have one or more td/th elements.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)