Senin, 15 November 2010

ABOUT JAVASCRIPT


JavaScript is a simple scripting language specifically created for use in a web browser that makes Web site more dynamic. HTML, if you walk alone, only able to produce static pages. Once loaded, view HTML pages do not change much until you click on a link to other pages.
Many who think the JavaScript associated with Java even though the two are not equal.
» Java, created by » Sun Microsystems, is a fully computer programming language like C + +, suitable for writing large-scale programs and complete.
JavaScript, on the other hand, was created by » Netscape. This is based on a level in Java - code syntax is very similar - but sangatjarang used for purposes outside the scope of the browser.
JavaScript is written in a manner similar to HTML - in -text editor(WordpadNotepad). Application JS exactly the same as CSS, you can mentautkan (link) to an external file (with file extension . js), or write blocks of code directly in HTML documents with tags 

Tag script flanking the script code.
Attribute type tells the browser about the type of the corresponding script (there are others, such as VBScript), so that helped translate the code.
Tag comments (ie marked with ) was added in the script code so that browser2 jadul Matchless understand the script tag will not display the code as text. While the interchangeable browser execute JavaScript will ignore the comments. Also note, for the sake of Netscape, at the end of the comments they will be commented upon themselves to use
JavaScript comments (two forward slashes "/ /" to comment on the rest of the line they will be). This is to stop the occurrence of errors on old versions of Netscape.




0 komentar:

Posting Komentar

 

hera corner's © 2010

Blogger Templates by Splashy Templates