質問編集履歴

2

改善

2016/09/06 02:24

投稿

a-_.
a-_.

スコア133

test CHANGED
File without changes
test CHANGED
File without changes

1

改善

2016/09/06 02:24

投稿

a-_.
a-_.

スコア133

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,37 @@
1
1
  JavaScriptのファイルを作って開こうと思い、ファイルの拡張子を「XXX.js」と名付けたんですが、「構文エラー800A03F6」と表示されてブラウザ表示できません
2
2
 
3
3
  何が原因でどう対処すればいいのでしょうか
4
+
5
+ ```Javascript
6
+
7
+ <html>
8
+
9
+ <head>
10
+
11
+ <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
12
+
13
+ <meta http-equiv="Content-style-type" content="text/javascript">
14
+
15
+ <script type="text/javascript" src="hello.js"></script>
16
+
17
+ </head>
18
+
19
+ <body>
20
+
21
+ <script type="text/javascript" src="konnichiwa.js"></script>
22
+
23
+ <noscript>
24
+
25
+ <p>
26
+
27
+ このページはJavaScript対応ブラウザで見てください。
28
+
29
+ </p>
30
+
31
+ </noscript>
32
+
33
+ </body>
34
+
35
+ </html>
36
+
37
+ ```