Skip to main content

Posts

JS Basic

                                           JS Basic                 Prev                                                                                             Next 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> <body> <script type="text/javascript"> document.write("This is my first JavaScript!"); </script> </body> </html>

JavaScript HOW To

The HTML <script> tag is used to insert a JavaScript into an HTML page. Put a JavaScript into an HTML page The example below shows how to use JavaScript to write text on a web page: Example <html> <body> <script type="text/javascript"> document.write("Hello World!"); </script> </body> </html> The example below shows how to add HTML tags to the JavaScript: <html> <body> <script type="text/javascript"> document.write("<h1>Hello World!</h1>"); </script> </body> </html> Example Explained To insert a JavaScript into an HTML page, we use the <script> tag. Inside the <script> tag we use the type attribute to define the scripting language. So, the <script type="text/javascript"> and </script> tells where the JavaScript starts and ends: <html> <...

JS Introduction

                                                   JS Introduction JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari. 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 Jav...

JavaScript Tutorial

JS Basic JS Introduction JS How To JS Where To JS Statements JS Comments JS Variables JS Operators JS Comparisons JS If...Else JS Switch JS Popup Boxes JS Functions JS For Loop JS While Loop JS Break Loops JS For...In JS Events JS Try...Catch JS Throw JS Special Text JS Guidelines JS Objects JS Objects Intro JS String JS Date JS Array JS Boolean JS Math JS RegExp JS Advanced JS Browser JS Cookies JS Validation JS Animation JS Image Maps JS Timing JS Create Object JS Summary JS Examples JS Examples JS Objects Examples JS Browser Examples JS HTML DOM Examples JS Quiz JS Exam JS References JavaScript Objects HTML DOM Objects                                                                                           ...

XML Engine Tutorial

Overview • XML basics and Libname engine introduction • Effectively reading XML files • Introduction to the XML Mapper •Writing XML files using SAS • Common problems processing XML files What is XML? • XML is a set of rules used for defining &modeling structures • XML is extensible & customizable  Its greatest strength  Its greatest weakness XML Basics- Well Formed Files Document has a single root element • Elements nest properly • No tag omission (close what you open) • Attributes must be quoted • Special characters < > and & must always be escaped XML Basics- Well Formed Files • XML is case sensitive Anatomy of an XML file <?xml version="1.0"?> <workorder priority="high"datedue="09/30/2001"> <submitter> <name first="Jennifer" last="Kyrnin" /> <email>html.guide@about.com</email> <account number="11001100" /> Container or root X...

CSS Tutorial step by step

CSS   Introduction Cascading Style Sheets   (CSS) is a   style sheet language   used for describing the   look and formatting   of a document written in a markup language . While most often used to style   web pages   and user interfaces written in   HTML   and   XHTML . CSS is a cornerstone specification of   the web   and almost all web pages use CSS style sheets to describe their presentation. CSS is designed primarily to enable   the separation of document content from document presentation , including elements such as the   layout ,   colors , and   fonts .   This separation can improve content   accessibility , provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for   table less web design ). It   obvia...