View Full Version : problem in validating html5 code

09-13-2011, 09:45 PM

I am validating my html code in validator.w3c.org website it shows me 2 warnings. Can you please tell me what is the problem with my code?

here is the code

<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="script.js"></script>
<link type="text/css" rel="stylesheet" href="styles.css" />


09-13-2011, 09:58 PM
The explanations are right underneath.

Essentially, HTML 5 is not a completed specification and it is clear that you don't really know what it is (this is not a bad thing at all! most people who want to keep their sanity are still using (X)HTML 1.0), so I recommend using a different DTD. See our help thread for more information.