...

View Full Version : problem in validating html5 code



doforumda
09-13-2011, 09:45 PM
Hi,

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

<!DOCTYPE HTML>
<html lang="en">
<head>
<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" />
<title>title</title>
</head>
<body>

</body>
</html>

Apostropartheid
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum