Beginning JavaScript 4 th Edition. Chapter 1 Introduction to JavaScript and the Web.

Slides:



Advertisements
Similar presentations
Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
Advertisements

Introduction to JavaScript
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
Creating and Editing a Web Page Using Inline Styles
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. How to Create Web Pages Using HTML Introduction.
JavaScript 101 Lesson 01: Writing Your First JavaScript.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
HTML Recall that HTML is static in that it describes how a page is to be displayed, but it doesn’t provide for interaction or animation. A page created.
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
INTRODUCTION TO CLIENT-SIDE WEB PROGRAMMING ACM 511 ACM 262 Course Notes.
4.1 JavaScript Introduction
JavaScript: Control Structures September 27, 2005 Slides modified from Internet & World Wide Web: How to Program (3rd) edition. By Deitel, Deitel,
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
JavaScript, Fifth Edition Chapter 1 Introduction to JavaScript.
HTML. WHAT IS HTML 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.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Introduction to Applets CS 3505 Client Side Scripting with applets.
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Tutorial 10 Programming with JavaScript
JavaScript Tutorial 1 - Introduction to JavaScript WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Introduction to JavaScript (NON.
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
YEAR 8 – WEB DESIGN IN HTML Lesson 2. STARTER Use the internet to find out what JavaScript is? Use ‘Microsoft Word’ to write down your list.
Dr. Qusai Abuein1 Internet & WWW How to program Chap.(6) JavaScript:Introduction to Scripting.
An Introduction to JavaScript By: John Coliton Tuesday, November 10, 1998 Center for Teaching and Learning.
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
The Teacher Computing HTML HyperText Markup Language.
By Tharith Sriv. To write a web page you use: HHTML (HyperText Markup Language), AASP (Active Server Page), PPHP (HyperText Preprocessor), JJavaScript,
© 2000 – All Rights Reserved - Page 1 Introduction to JavaScript Programming Part One.
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
Introduction into JavaScript Java 1 JavaScript JavaScript programs run from within an HTML document The statements that make up a program in an HTML.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Hypertext Markup Language.  Developed by Tim Berners-Lee in 1990  Stands for HyperText Markup Languange  A format that tells a computer how to display.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
Section 10.1 Define scripting
Tutorial 10 Programming with JavaScript
Chapter 1 Introduction to HTML.
Active Server Pages Computer Science 40S.
The Internet and HTML Code
Section 17.1 Section 17.2 Add an audio file using HTML
Introduction to JavaScript
WEB PROGRAMMING JavaScript.
Introduction to JavaScript
Introduction to JavaScript
CS105 Introduction to Computer Concepts
Unit 6 part 3 Test Javascript Test.
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
HTML Structure.
Tutorial 10: Programming with javascript
Introduction to Programming and JavaScript
JavaScript: Introduction to Scripting
Information Retrieval and Web Design
Introduction to JavaScript
CS105 Introduction to Computer Concepts JavaScript
CHAPTER 1 THE ABC OF PROGRAMMING
Presentation transcript:

Beginning JavaScript 4 th Edition

Chapter 1 Introduction to JavaScript and the Web

Chapter 1 Objectives  What is JavaScript?  What do you need in order to use JavaScript?  What can JavaScript do for you?

What is JavaScript?  A computer language: a series of instructions that tell the computer to do something

What is JavaScript?  An interpreted language rather than a compiled language

What is JavaScript?

 JavaScript is interpreted when the code is run. This interpretation has to be repeated every time the code is run.

What is JavaScript?  JavaScript is not Java

What do you need? All you need to create and use JavaScript is: A text editor, such as Notepad A Web browser, such as Firefox (FF) or Internet Explorer (IE) to view your pages in

What can JavaScript do for you?  Add interactivity to your Web pages  Help you obtain information from visitors to your Web site  Enable you to validate the information you receive

Adding JavaScript to your pages  Insert JavaScript code in HTML/XHTML pages between an opening and closing script tag:

Adding JavaScript to your pages  It’s good practice to include a type attribute in the opening script tag:

Adding JavaScript to your pages 

Adding JavaScript to your pages  document.bgColor="RED";

Adding JavaScript to your pages  // script block 1 document.bgColor="RED";

Using JavaScript JavaScript enables you to make your Web pages