Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problem in validating html5 code

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

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •