should I add "javascript:" in front of html tag function?

Posted by sunglim on Stack Overflow See other posts from Stack Overflow or by sunglim
Published on 2010-04-11T06:44:50Z Indexed on 2010/04/11 6:53 UTC
Read the original article Hit count: 298

Filed under:
|

for example

 <body onload="javascript:something();">

in this code, should I put javascript: ?

some of the codes attatch javascript:,

but some don't.

what is the safe and correct?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html