soe1982
male - 27 years, kyeemyindine, Myanmar
Blog 6
-
What is JavaScript?
What You Should Already Know
Before you continue you should have a basic understanding of the following:
* HTML / XHTML
If you want to study these subjects first, find the tutorials on our Home page.
What is JavaScript?
* JavaScript was designed to add interactivity to HTML pages
* JavaScript is a scripting language
* A scripting language is a lightweight programming language
* JavaScript is usually embedded directly into HTML pages
* JavaScript is an interpreted language (means that scripts execute without preliminary compilation)
* Everyone can use JavaScript without purchasing a license
Are Java and JavaScript the same?
NO!
Java and JavaScript are two completely different languages in both concept and design!
Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++.
What can a JavaScript do?
* JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
* JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("<h1>" + name + "</h1>"
can write a variable text into an HTML page
* JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element
* JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element
* JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing
* JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser
* JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer -
JavaScript
JavaScript is THE scripting language of the Web.
JavaScript is used in millions of Web pages to add functionality, validate forms, detect browsers, and much more. -
HTML Tags
What is HTML?
HTML is a language for describing web pages.
* HTML stands for Hyper Text Markup Language
* HTML is not a programming language, it is a markup language
* A markup language is a set of markup tags
* HTML uses markup tags to describe web pages
HTML Tags
HTML markup tags are usually called HTML tags
* HTML tags are keywords surrounded by angle brackets like <html>
* HTML tags normally come in pairs like <b> and </b>
* The first tag in a pair is the start tag, the second tag is the end tag
* Start and end tags are also called opening tags and closing tags
HTML Documents = Web Pages
* HTML documents describe web pages
* HTML documents contain HTML tags and plain text
* HTML documents are also called web pages
The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page: -
Multi
<!-- Multisearcher tool BEGIN -->
<iframe src ="http://www.multisearchertool.com/plugin.php?s=... ;width="175" allowtransparency="true" height="105" scrolling="no" frameborder="0">
</iframe>
<!-- Multisearcher tool END -->
<!-- AddThis Button BEGIN -->
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&... src="http://s7.addthis.com/static/btn/v2/lg-share-e... ;width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><scrip- t type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js...
;<!-- AddThis Button END --> -
ဘ၀မဆန္ေသာကဗ်ာ
ဘ၀မဆန္ေသာကဗ်ာ
ဘ၀ကဗ်ာ
ေရးလိုပါလည္း
ကာရံလွလွ
ရွာၾကံဆေသာ္
ဘ၀ေတြ႕ၾကံဳ
မျပည္႕စံုမို႕
ကံုလံုျပည္႕၀
ကာရံလွမွ
ဘ၀ကဗ်ာ
ေရးေတာ႕မည္။ ။ ။ -
HTML
HTML<hypertext mark-up language>
is the text formatting language most widely used for creating a webside..
* Hyper is the opposite of linear. In the good old days - when a mouse was something the cat chased - computer programs ran linearly: when the program had executed one action it went to the next line and after that, the next line and so on. But HTML is different - you can go wherever you want and whenever you want. For example, it is not necessary to visit MSN.com before you visit HTML.net.
* Text is self-explanatory.
* Mark-up is what you do with the text. You are marking up the text the same way you do in a text editing program with headings, bullets and bold text and so on.
* Language is what HTML is. It uses many English words.
Blog tags
No tags used