Jump to content

Veeery stupid question


Fire Dragon

Recommended Posts

What chocolate570 told you should work perfectly, did you use script tags, see below, btw you can put javascript in either the head or body of a page<html><head><script>//i am a single line comment/* I am a multi line comment */</script></head><body></body></html>

Link to comment
Share on other sites

What chocolate570 told you should work perfectly, did you use script tags, see below, btw you can put javascript in either the head or body of a page<html><head><script type="text/javascript">//i am a single line comment/* I am a multi line comment */</script></head><body></body></html>

There should be a TYPE attribute to let the browser know what kind of "script" it is.SCRIPT by itself can be ANY kind of script.Look at the bold red I added what you forgot.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...