17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

Essentials for Design JavaScript Level One Michael Brooks
Tutorial 6 Creating a Web Form
HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript.
The Web Warrior Guide to Web Design Technologies
CIS101 Introduction to Computing Week 08. Agenda Your questions JavaScript text Resume project HTML Project Six This week online Next class.
1 Chapter 12 Working With Access 2000 on the Internet.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Tutorial 6 Working with Web Forms
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 7 Event-Driven.
Web Page Behavior IS 373—Web Standards Todd Will.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
JavaScript 101 Lesson 5: Introduction to Events. Lesson Topics Event driven programming Events and event handlers The onClick event handler for hyperlinks.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
THE BASICS OF THE WEB Davison Web Design. Introduction to the Web Main Ideas The Internet is a worldwide network of hardware. The World Wide Web is part.
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
CST JavaScript Validating Form Data with JavaScript.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Events Lect 8. 2 Event-driven Pages one popular feature of the Web is its interactive nature e.g., you click on buttons to make windows appear e.g.,
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Server vs Client-side validation. JavaScript JavaScript is an object-based language. JavaScript is based on manipulating objects by modifying an object’s.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
Adding User Interactivity – Lesson 51 Adding User Interactivity Lesson 5.
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.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
© 2010 Delmar, Cengage Learning Chapter 8 Collecting Data with Forms.
Tutorial 8 Programming with ActionScript 3.0. XP Objectives Review the basics of ActionScript programming Compare ActionScript 2.0 and ActionScript 3.0.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
12 Developing a Web Site Section 12.1 Discuss the functions of a Web site Compare and contrast style sheets Apply cascading style sheets (CSS) to a Web.
HTML Form Widgets. Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back.
Introduction to JavaScript CS101 Introduction to Computing.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
XP Tutorial 8 Adding Interactivity with ActionScript.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
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.
Event Handling. Objectives Using event handlers Simulating events Using event-related methods.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 14 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Forms. A form is simply an area that can contain form fields. Form fields are objects that allow the visitor to enter information - for example text.
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 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Understanding JavaScript and Coding Essentials Lesson 8.
JavaScript Events Java 4 Understanding Events Events add interactivity between the web page and the user You can think of an event as a trigger that.
CSC 121 Computers and Scientific Thinking Fall Event-Driven Programming.
JavaScript Events. Understanding Events Events add interactivity between the web page and the user Events add interactivity between the web page and the.
Tutorial 6 Creating a Web Form
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
Section 10.1 Define scripting
In this session, you will learn to:
Section 17.1 Section 17.2 Add an audio file using HTML
Web Development & Design Foundations with HTML5 7th Edition
Section 10.1 YOU WILL LEARN TO… Define scripting
Create and edit web pages 2
Introduction to JavaScript
Presentation transcript:

17 HTML, Scripting, and Interactivity 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 menu using HTML Add a text area using HTML Modify a text box using CSS YOU WILL LEARN TO…

17 HTML, Scripting, and Interactivity Section 17.2 Identify client-side scripting languages Create a rollover button using JavaScript Identify server-side scripting languages Debug code YOU WILL LEARN TO…

Section Bell Ringer

Section 17.1 Adding Interactivity Using HTML Focus on Reading Main Ideas You can use HTML code to insert multimedia elements into a Web page. Other HTML tags allow you to create forms. Key Terms animated GIF radio button pull-down menu text area pp

Section 17.1 Adding Interactivity Using HTML Adding Multimedia Elements animated GIF Inserting an audio file or an animated GIF file is very similar to inserting an image file. animated GIF A sequence of GIF images that are all stored in a single file along with an image transition delay value that controls the amount of time each image will stay on the screen. (p. 477) pp

Section 17.1 Adding Interactivity Using HTML Creating a Registration Form radio buttons pull-down menus text areas You create a registration form in HTML with text boxes, using preset options, like radio buttons, check boxes, pull-down menus, and text areas. pp radio button An interactive control that allows a user to select only one option from a list of options. (p. 478) pull-down menu An interactive element that looks like a text field, but operates like a set of radio buttons in that users can choose only one item from a list of options. (p. 479) text area A form field that will expand to allow visitors to enter any length comment. (p. 479)

Section pp Adding Interactivity Using HTML It is not difficult to create a form using HTML. Knowing which HTML tags to use can help you adjust form elements when you create a form in Dreamweaver. Forms in CSS 17.1

Section pp Adding Interactivity Using HTML Activity 17A – Add an Audio File Using HTML (p. 476) Activity 17B – Add Text Boxes Using HTML (p. 477) Activity 17C – Add Radio Buttons and Check Boxes Using HTML (p. 478) Activity 17D – Add a Pull-down Menu Using HTML (p. 479) Activity 17E – Add a Text Area using HTML (p. 480) Activity 17F – Use CSS to Style a Form (p. 480) 17.1

Section Adding Interactivity Using HTML pp Identify In an animated GIF, what does an image transition delay value control? A. the size of each image B. the color of each image C. the amount of time each image will stay on the screen D. the HTML tags used to create each image C. the amount of time each image will stay on the screen Section Assessment 17.1

Section Bell Ringer

Section 17.2 Adding Interactivity Using Scripting Focus on Reading Main Ideas Scripting languages are used to supplement the capabilities of standard HTML. Scripting languages are divided into client-side scripts and server-side scripts. Key Terms client-side script object event event handler function variables conditional statements server-side script pp

Section 17.2 Adding Interactivity Using Scripting Client-Side Scripts client-side scripts Some scripting languages, known as client-side scripts, are designed to be transferred to the users computer along with the HTML code. client-side script A script that is executed by the users Web browser. (p. 483) pp

Section 17.2 Adding Interactivity Using Scripting Client-Side Scripts object In JavaScript, an element in a browser window; it can have properties that define it. (p. 483) event Anything that causes an effect to occur; often triggered by user action. (p. 484) event handler The part of the script that responds to an event and defines the action that will occur when the event takes place. (p. 484) pp JavaScript is a popular scripting language for client-side scripts. JavaScript is composed of several elements, including: Objects Events Event handlers

Section 17.2 Adding Interactivity Using Scripting Client-Side Scripts function In JavaScript, code that performs a specific task or action. (p. 484) variables Used by scripts to identify a value that will change when the script is executed. (p. 484) conditional statement A type of code that allows a script to respond differently depending on the action taken by the user. (p. 484) pp More JavaScript elements: Functions Variables Conditional statements

Section 17.2 Adding Interactivity Using Scripting Server-Side Scripts Server-side scripts Server-side scripts are run from the Web server. Web designers often use CGI to create Web-based forms that users fill out and then submit to the server. server-side script A script that is executed on the Web server, with the output transferred to the users computer as a Web page. (p. 485) pp

Section pp Adding Interactivity Using Scripting Server-side scripts can be used to change static content into dynamic content. A server-side script can retrieve data based on the users input and then generate a Web page that displays in the users browser. Server-Side Scripts 17.2

Section pp Adding Interactivity Using Scripting An alert statement tells you when a particular action is not occurring as specified. Alert statements should be removed before the site is published. Debugging Code 17.2

Section pp Adding Interactivity Using Scripting Activity 17G – Create a Rollover Button Using JavaScript (p. 484) 17.2

Section Adding Interactivity Using Scripting pp True/False Client-side scripts are executed on the Web server. False. Client-side scripts are executed by a users Web browser. Section Assessment 17.2

17 HTML, Scripting, and Interactivity Chapter Review Identify What element looks like a text field, but operates like a set of radio buttons? A. option button B. entry field C. text area D. pull-down menu

17 HTML, Scripting, and Interactivity Chapter Review Explain What is the difference between client-side scripts and server-side scripts? Client-side scripts are executed by the users Web browser. They are downloaded to the users computer with the HTML code. Server- side scripts are executed by the Web server. They often generate page content based on the input of the user.

17 HTML, Scripting, and Interactivity Resources For more resources on this chapter, go to the Introduction to Web Design Using Dreamweaver Web site at WebDesignDW.glencoe.com. WebDesignDW.glencoe.com