无与伦比的恩惠

Tuesday, August 16, 2011

.Js

with 0 Comment
Question: src=”filename.js” stand for what? 
Answer: filename.js stand for External JavaScript

JavaScript can also be placed in external files.
External JavaScript files often contain code to be used on several different web pages.
External JavaScript files have the file extension .js.

Note: External script cannot contain the <script></script> tags!
To use an external script, point to the .js file in the "src" attribute of the <script> tag:

Example
<html>
<head>
<script type="text/javascript" src="xxx.js"></script>
</head>
<body>
</body>
</html>

P.s : Before entering my industrial training, I don't event know what is .js file stand for ... zzz ... I am not a Computer Science student at all!

0 comments :

Post a Comment

Life is Good

Life is Good

Vietnam Coffee lover 2014

Vietnam Coffee lover 2014

Love angel in Perhentian 2014

Love angel in Perhentian 2014

First Marathon Hwaiting 2014

First Marathon Hwaiting 2014

Penang Art Street 2014

Penang Art Street 2014

Legoland Johor Bahru 2013

Legoland Johor Bahru 2013

Mt.Kinabalu I made it! 2013

Mt.Kinabalu I made it! 2013

KLCC tower 2013

KLCC tower 2013

Romance about wedding 2012

Romance about wedding 2012

Korean Traditional 한복 2010

Korean Traditional 한복 2010

Autumn in my heart 2010

Autumn in my heart 2010