Why can’t a element contain a ?

Well I posted a comment but no love. You can achieve a W3C valid button by simply putting an image inside the button. Fiddle Granted you’ll have to create your images and add the text to them. But since you’ve already created images for the corners that shouldn’t be too hard. Also image sprites are … Read more

‘div’ inside ‘table’

<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en”> <head> <title>test</title> </head> <body> <table> <tr> <td> <div>content</div> </td> </tr> </table> </body> </html> This document was successfully checked as XHTML 1.0 Transitional!

w3c html validation error – Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections

Either: Add a heading (h1, …, h6) tag to your section element. Replace your section element with a div element. Ignore the warning. The message you’re seeing is a non-normative usage recommendation, as per the HTML5 spec (highlighting mine): The theme of each section should be identified, typically by including a heading (h1–h6 element) as … Read more