Javascript不会加载

1 javascript jquery

我的头脑中的javascript不会执行.我已经尝试排除了很多东西,试图弄清楚为什么我的javascript不会执行任何我有的东西.我得出的结论是我的javascript不会执行.目前我只有一个应该说"已加载"的空白警报,但即使这样也不会加载.

这就是我目前的代码中的内容

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1   /DTD/xhtml1-strict.dtd">
    <html lang="nl" xml:lang="nl" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=Windows-1252" />
    <meta content="Windows-1252" http-equiv="encoding" />
    <meta http-equiv="Content-Language" content="nl" />
    <title>Micha J</title>
    <script src="http://code.jquery.com/jquery-1.8.3.js" type="text/JavaScript" />
    <script type="text/JavaScript"> 
    //<![CDATA[

        alert("Ready");

        //]]>
    </script>
    <link href="style.css" type="text/css" rel="stylesheet">
</head>
Run Code Online (Sandbox Code Playgroud)

希望有人能够帮助我解决我的问题.

Ant*_*iga 8

你无法自我关闭<script>.</script>在这里使用完整的结束标记:

<script src="http://code.jquery.com/jquery-1.8.3.js" type="text/javascript"></script>
<script type="text/javascript"> 
  alert("Ready");
</script>
Run Code Online (Sandbox Code Playgroud)

请参阅squadette的答案,引用XHTML 1规范