Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8925341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:40:17+00:00 2026-06-15T07:40:17+00:00

I was playing a little bit with jQuery. I’we done everything ok, and it

  • 0

I was playing a little bit with jQuery. I’we done everything ok, and it works fine(i’m trying to make my own plugin) with no bugs. But when i try to validate page using http://validator.w3.org i get 1 error: document type does not allow element “script” here.

I have no idea what have i done wrong. Here is my html(js is not important here i guess):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Admin</title>

    <!-- Load jQuery -->
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/Document-Load.js"></script>

    <link rel="stylesheet" type="text/css" href='css/iG_Style.css' />
</head>
<body>
    <div id="body"></div>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:40:19+00:00Added an answer on June 15, 2026 at 7:40 am

    I havent problems testing on the w3c validator, for best practices use the script tag before the body as follows:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Admin</title>
    
    
        <link rel="stylesheet" type="text/css" href='css/iG_Style.css' />
    </head>
    <body>
        <div id="body"></div>
      <!-- Load jQuery -->
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/Document-Load.js"></script>
    
    </body>
    </html>
    

    This document was successfully checked as XHTML 1.0 Strict!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've done a little bit of playing around with the new HTML5 tags and
This surprised me a little bit, but I was playing around with some code
Earlier it was working fine. I have been playing little bit config. So may
I am playing about just now trying to teach myself a little bit about
I am playing a little bit with htaccess to know apache with xampp. I
I'm playing a little bit with the new StackOverflow API . Unfortunately, my JSON
Was playing around a little bit with the TimeSpan class and I started wondering
I've been playing around in openGL a little bit and I was wondering how
I'm playing with Hibernate a little bit. I created a Group class and a
I've been playing around with Direct3D 11 a little bit lately and have been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.