jschap01 - Tutorial 1 Introduction to JavaScript JavaScript...

Info iconThis preview shows pages 1–18. Sign up to view the full content.

View Full Document Right Arrow Icon
Tutorial 1: Introduction to JavaScript JavaScript - Introductory
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Section A: Programming, HTML, and JavaScript
Background image of page 2
Objectives In this section you will learn: About the World Wide Web What JavaScript is used for About Hypertext Markup Language How to create an HTML document About the JavaScript programming language About logic and debugging
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
The World Wide Web JavaScript lives and works within Web pages on the World Wide Web World Wide Web (the “Web”) was created in 1989 at the European Laboratory for Particle Physics in Geneva, Switzerland Documents are located and opened using hypertext links , which contain a reference to a specific document Hypertext Markup Language (HTML) is a simple language used to design Web pages
Background image of page 4
The World Wide Web Web browser is a program that displays HTML documents on your computer screen Hypertext Transfer Protocol (HTTP) manages hypertext links used to navigate the Web Domain name is a unique address used for identifying a computer, often a Web server, on the Internet Domain name consists of two parts separated by a period: 1) usually composed of text that identifies a person or organization, 2) identifies the type of institution or organization
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Sample URL
Background image of page 6
JavaScript’s Role on the Web The main purpose of HTML is to tell a browser how the document should appear JavaScript brings HTML to life and makes Web pages dynamic Use JavaScript to change the contents of a Web page after it has been rendered by a browser JavaScript is used for many different purposes, including advertising and entertainment
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image Map
Background image of page 8
Online Calculator
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Product Registration Form
Background image of page 10
Hypertext Markup Language HTML documents must be text documents that contain formatting instructions, called tags , along with the text that has to be displayed on a Web page HTML tags range from formatting commands that boldface and italicize text to controls that allow user input HTML documents must have a file extension of .html or . htm Assembling and formatting an HTML document is called parsing or rendering
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Hypertext Markup Language HTML is not case-sensitive All HTML documents begin with <HTML> and end with </HTML> Various parameters, called attributes, are used to configure many HTML tags (i.e. <IMG> tag)
Background image of page 12
Common HTML Tags
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Hypertext Markup Language Two important HTML tags are the <HEAD> and <BODY> The <HEAD> tag is placed at the start of an HTML document When a Web browser renders an HTML document, it ignores non-printing characters and only recognizes HTML tags and text included in the final document
Background image of page 14
HTML Tags Placed Within the <HEAD>…<HEAD> Tag Pair
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
<BODY> Tag Attributes
Background image of page 16
Creating an HTML Document Since HTML documents are text files, you can create them in any text editor such as NotePad, WordPad, or any word-processing program HTML documents displayed in Internet Explorer can appear differently in Navigator To create an HTML document: Start text editor or HTML editor and create a new
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 18
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 59

jschap01 - Tutorial 1 Introduction to JavaScript JavaScript...

This preview shows document pages 1 - 18. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online